About
Self-contained category badge component
Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds category-badge to your project and fits it to your theme.
Code
How category-badge is used: the demo's code. The component's own source comes with a free account.
Usage.tsx
import CategoryBadge from "@/components/ui/categorybadge";
export default function CategoryBadgeDemo() {
return (
<div className="flex gap-2">
<CategoryBadge name="SaaS" />
<CategoryBadge name="Marketing" />
<CategoryBadge name="Vendas" />
</div>
);
}