Badge Component
The badge component.
Properties
Name | Type | Default | Description |
---|---|---|---|
value | string | number | '' | The value of the badge. |
variant | 'pill' | 'numeral' | 'dot' | 'pill' | The variant of the badge. |
color | 'success' | 'error' | 'info' | 'warning' | 'neutral' | 'neutral' | The color of the badge. |
priority | 'high' | 'low' | 'high' | The priority level of the badge. |
size | 'md' | 'sm' | 'md' | The size of the badge. |
Slots
Name | Description |
---|---|
icon | The slot for icon element. |