Components

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

Data display

Table

Align data in rows and columns so readers can compare values.

Anatomy

  1. Column heading
  2. Data cell
  3. Status cell
  4. Row divider

Configuration

Sorting

ProjectStatusOpen tasks
HomepageLive4
CheckoutIn review12
DashboardDraft2

Use when a fixed order is helpful, such as a curated list of projects.

Design tokens used

CategoryTokenValueWhere it’s used
Colour--cc-foreground—First column and active or hovered sort labels
--cc-muted-foreground—Other cells, inactive headers, and neutral status text
--cc-surface—Table body background
--cc-surface-muted—Column header and neutral status backgrounds
--cc-border—Table outline and row dividers
--cc-success-soft—Live status badge background
--cc-success-soft-foreground—Live status text
--cc-warning-soft—In-review badge background
--cc-warning-soft-foreground—In-review status text
--cc-focus-ring—Keyboard focus ring