ONONC

Badge

Compact status label in solid, soft, and outline variants.

display

Styled with ONONC's design tokens shadcn add installs them for you.

Badge

Customize

Label
Variant
Tone
Status dot

Props

PropTypeDefaultDescription
children*ReactNodeBadge label content.
variant"solid" | "soft" | "outline""soft"Visual style.
tone"brand" | "neutral" | "success" | "warning" | "danger""brand"Semantic color.
dotbooleanfalseShow a leading status dot tinted to the tone.
classNamestringExtra classes for the badge.