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*ReactNode—Badge 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.
classNamestring—Extra classes for the badge.