Components

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

Actions

Split action

Offer a default action alongside a menu of related options.

Anatomy

  1. Default action
  2. Menu trigger
  3. Alternative action

Live example

Design tokens used

CategoryTokenValueWhere it’s used
Colour--cc-foreground—Menu item text
--cc-surface-muted—Menu item background on hover
--cc-surface-elevated—Open menu background
--cc-border—Open menu border
--cc-primary—Primary button background
--cc-primary-hover—Primary button background on hover
--cc-primary-foreground—Primary button label and icon
--cc-primary-soft-border—Divider between the default action and menu trigger
--cc-focus-ring—Keyboard focus ring