Components

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

Data display

Accordion

Let readers expand the sections they need and scan the remaining headings.

Anatomy

  1. Section title
  2. Expansion indicator
  3. Content panel
  4. Section divider

Configuration

Expansion behaviour

Import the components and connect them to your palette tokens.

Use when readers should focus on one section at a time.

Design tokens used

CategoryTokenValueWhere it’s used
Colour--cc-foreground—Section title and chevron
--cc-muted-foreground—Expanded panel text
--cc-surface—Accordion background
--cc-border—Outer border and dividers between sections
--cc-focus-ring—Keyboard focus ring