Properties
| Name | Type | Required | Description |
|---|---|---|---|
| id | string | Yes | Unique identifier for the component |
| text | string | Yes | Badge text content |
| variant | 'default' | 'secondary' | 'outline' | 'destructive' | No | Visual style(default: default) |
Examples
Badge Variants
Different badge styles
Preview
json
Status Badges
Using badges to show status
Preview
json