lipa88-mk

Badges

Component

About

A small list of colored pill-style badges (e.g. tags, labels, statuses) rendered from an array of strings, with configurable size and color.

Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Badges to your project and fits it to your theme.

Code

How Badges is used: the demo's code. The component's own source comes with a free account.

Usage.tsx

import { Badges } from "@/components/ui/badges";

export default function BadgesDemo() {
  return (
    <div className="flex items-center justify-center min-h-[200px] bg-background p-8">
      <Badges list={["New", "Sale", "Exclusive"]} size="base" coloring="gray" />
    </div>
  );
}

Dependencies

More by lipa88-mk

View all
  • Button

    Button

    1
  • Checkbox

    Checkbox

  • Select

    Select