← Design system

Badge

Interactive examples and usage for the Badge component.

Examples

Default Primary Success Warning Danger Info Outline

With Dot

Active Offline

Props

PropTypeDefaultDescription
variant'default' | 'primary' | 'secondary' | 'success' | 'warning' | 'danger' | 'info' | 'outline''default'Visual style variant
size'sm' | 'md' | 'lg''md'Badge size
dotbooleanfalseShow a status dot indicator
onremove() => voidundefinedCallback when remove button is clicked; shows remove button when set