Preet Suthar

Chip

Component 264

About

A compact, interactive element for displaying status, categories, or filters with optional icons and dismissible functionality.

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

Code

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

Usage.tsx

import { Chip } from "@/components/ui/chip";

export default function DemoOne() {
  return (
    <>
      <div className="flex gap-4 flex-wrap">
        <Chip>Default</Chip>
        <Chip variant="secondary">Secondary</Chip>
        <Chip variant="outline">Outline</Chip>
        <Chip variant="ghost">Ghost</Chip>
        <Chip variant="destructive">Destructive</Chip>
      </div>
    </>
  );
}

Dependencies

More by Preet Suthar

View all
  • Modern & Stunning sign in

    Modern & Stunning sign in

    1.6K
  • Shining Text

    Shining Text

    1.5K
  • Magic Text

    Magic Text

    845
  • Toolbar

    Toolbar

    822
  • Hero 2

    Hero 2

    818
  • Typewriter Text

    Typewriter Text

    769
  • AI Chat Input

    AI Chat Input

    734
  • Full Screen Signup

    Full Screen Signup

    731