Loading...
Installation
$npx shadcn@latest add @craftdotui/craftui-badge
Anatomy
<Badge>Badge</Badge>
<BadgeRoot>Badge</BadgeRoot>
Demo
Secondary
Loading...
Outline
Loading...
Ghost
Loading...
Destructive
Loading...
Status Variants
Loading...
Sizes
Loading...
Rounded & Counters
Loading...
With Icon
Loading...
With Status Dot
Loading...
With Link
Use the render prop to render a badge as an anchor element.
Loading...
Props
Badge
Prop
Type
Default