Six badge variants — default, secondary, destructive, outline, ghost, and link — with optional leading or trailing icons, built on class-variance-authority and Radix Slot.
Run the command below in a project with the shadcn CLI. It copies the component source into your repo and installs its dependencies.
npx shadcn@latest add https://www.saasuji.com/r/badge.jsonAlso available as a markdown reference for AI agents: /components/badge.md