Components

Explore live examples and usage guidance for interface components styled with the active colour palette.

Data display

Badge

Label a status or category with a short, scannable word or phrase.

Anatomy

  1. Badge fill
  2. Status label

Configuration

Badge tones

Draft

Label a routine state or category with low emphasis.

Design tokens used

CategoryTokenValueWhere it’s used
Colour--cc-muted-foreground—Neutral badge label
--cc-surface-muted—Neutral badge background
--cc-primary-soft—Primary badge background
--cc-primary-soft-foreground—Primary badge label
--cc-critical-soft—Critical badge background
--cc-critical-soft-foreground—Critical badge label
--cc-success-soft—Success badge background
--cc-success-soft-foreground—Success badge label
--cc-warning-soft—Warning badge background
--cc-warning-soft-foreground—Warning badge label
--cc-secondary-soft—Secondary badge background
--cc-secondary-soft-foreground—Secondary badge label
--cc-tertiary-soft—Tertiary badge background
--cc-tertiary-soft-foreground—Tertiary badge label
--cc-info-soft—Info badge background
--cc-info-soft-foreground—Info badge label