About
A small pill-shaped label used as a toggleable filter, a removable applied-filter tag, or a static tag, with optional icon and tone colors.
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
"use client";
import Chip, { ChipGroup } from "@/components/ui/chip";
export default function ChipSizesDemo() {
return (
<div className="flex min-h-[160px] w-full items-center justify-center p-8">
<ChipGroup>
<Chip size="sm">pump</Chip>
<Chip size="sm" tone="info" onRemove={() => undefined}>
sensor
</Chip>
<Chip size="sm" selected onClick={() => undefined}>
mine only
</Chip>
</ChipGroup>
</div>
);
}

