Tag

Tags with five semantic colours and two sizes, for statuses, categories and counts.

Props

PropTypeDefaultDescription
variant'neutral' | 'accent' | 'success' | 'warning' | 'danger''neutral'Semantic colour: neutral / accent / success / warning / danger
size'sm' | 'md''md'Control size: sm / md
borderedbooleantrueWhether the border shows, defaults to true
childrenReactNode—Tag content
...restHTMLAttributes—Remaining props are forwarded to the native span