About
A compact label chip for categorizing, filtering, or tagging items, with optional start/end icons and a removable close button.
Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Tag to your project and fits it to your theme.
Code
How Tag is used: the demo's code. The component's own source comes with a free account.
Usage.tsx
import { Tag } from "@/components/ui/tag";
export default function TagDemo() {
return (
<div className="flex flex-wrap gap-2">
<Tag size="sm">Small</Tag>
<Tag size="md">Medium - Default</Tag>
<Tag size="lg">Large</Tag>
</div>
);
}








