Skip to content

Badge Component

The badge component.

Properties

NameTypeDefaultDescription
valuestring | 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

NameDescription
iconThe slot for icon element.