micka_design

Badge

Component 2

About

Compact label with solid and dot variants, Tailwind color palette, and three sizes.

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

Code

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

Usage.tsx

"use client";

import { Badge } from "@/components/ui/badge-fluid-functionalism";

function Demo() {
  return (
    <div className="flex min-h-screen w-full items-center justify-center overflow-hidden bg-background p-8">
      <div className="grid max-w-xl grid-cols-3 gap-2 sm:grid-cols-6">
        <Badge color="red">Red</Badge>
        <Badge color="orange">Orange</Badge>
        <Badge color="amber">Amber</Badge>
        <Badge color="yellow">Yellow</Badge>
        <Badge color="lime">Lime</Badge>
        <Badge color="green">Green</Badge>
        <Badge color="emerald">Emerald</Badge>
        <Badge color="teal">Teal</Badge>
        <Badge color="cyan">Cyan</Badge>
        <Badge color="blue">Blue</Badge>
        <Badge color="violet">Violet</Badge>
        <Badge color="pink">Pink</Badge>
      </div>
    </div>
  );
}

export default { Demo };

Dependencies

More by micka_design

View all
  • Switch

    Switch

    87
  • Select

    Select

    84
  • Checkbox Group

    Checkbox Group

    76
  • Table

    Table

    38
  • Accordion

    Accordion

    38
  • Segmented Tabs

    Segmented Tabs

    37
  • Slider

    Slider

    24
  • Tabs Subtle

    Tabs Subtle

    22