Components

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

Data display

Stat

Give one metric prominence and add context such as its change over time.

Anatomy

  1. Metric label
  2. Value
  3. Change
  4. Comparison period

Configuration

Change indicators

Tasks completed

128

+14%

vs. last month

Use when the metric improves compared with the previous period.

Design tokens used

CategoryTokenValueWhere it’s used
Colour--cc-foreground—Metric value
--cc-muted-foreground—Metric label, comparison period, and neutral change
--cc-surface-muted—Neutral change badge background
--cc-critical-soft—Negative change badge background
--cc-critical-soft-foreground—Negative change text and icon
--cc-success-soft—Positive change badge background
--cc-success-soft-foreground—Positive change text and icon