Data display
Badge
Label a status or category with a short, scannable word or phrase.
Anatomy
- Badge fill
- Status label
Configuration
Badge tones
Draft
Label a routine state or category with low emphasis.
Featured
Emphasise the main category or label.
Template
Distinguish a supporting category from the primary one.
Collection
Distinguish another category in a set of related labels.
New
Call out a neutral update or a new item.
Live
Mark a completed, approved, or healthy state.
Review
Flag a status that needs attention soon.
Blocked
Mark a failed or blocked state that needs action.
Design tokens used
| Category | Token | Value | Where 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 |