Shadcn style badge in seven variants: default, accent, secondary, destructive, outline, ghost and link. Renders as a span or any element, with icon support.
npx shadcn@latest add @minidev/badge
Loading the source for badge…
Registry Items
badge
Configuration
Name
badge
Type
UI
Description
Shadcn style badge in seven variants: default, accent, secondary, destructive, outline, ghost and link. Renders as a span or any element, with icon support.
Files · 1
Dependencies
npm packages
@base-ui/react
class-variance-authority
Registry Items
badge
Configuration
Name
badge
Type
UI
Description
Shadcn style badge in seven variants: default, accent, secondary, destructive, outline, ghost and link. Renders as a span or any element, with icon support.