- Accordion
- AI Elements
- Alert
- Alert Dialog
- Avatar
- Badge
- Breadcrumb
- Button
- ButtonGroup
- Calendar
- Card
- Carousel
- Chart
- Checkbox
- Collapsible
- Combobox
- Command
- Date Picker
- Dialog
- Dropdown Menu
- Field
- File Picker
- Input
- InputGroup
- InputOTP
- Loader
- Menubar
- Pagination
- Popover
- Progress
- Radio Group
- Resizable
- Scroll Area
- Select
- Sheet
- Sonner
- Table
- Tabs
- Textarea
- Toggle
- Tooltip
Badge
Badge component with 7 variants (default, secondary, destructive, outline, ghost, link, verified), rounded-full styling, and overflow-clip. Includes BadgeNumber sub-component for circular number badges.
Figma: DS-001 Foundations · 26:169
Import
Live Demo
Badge variants and BadgeNumber component.
Props
| Name | Type | Default | Description |
|---|---|---|---|
| variant | "default" | "secondary" | "destructive" | "outline" | "ghost" | "link" | "verified" | "default" | The visual style variant of the badge |
Examples
Basic Badge
Badge Variants
7 different visual styles including verified.
Badge Number
Circular number badge for counts and notifications.