Components

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

Overlays

Drawer

Reveal contextual details in a panel at the edge of the current view.

Anatomy

  1. Backdrop
  2. Drawer title
  3. Dismiss control
  4. Drawer body

Configuration

Opening side

Open details from the right while the gallery stays in view behind the drawer.

Design tokens used

CategoryTokenValueWhere it’s used
Colour--cc-foreground—Drawer title, actions, and detail values
--cc-muted-foreground—Drawer description, detail labels, and close icon
--cc-surface—Secondary button background
--cc-surface-muted—Launcher and close button backgrounds on hover
--cc-surface-elevated—Drawer and header backgrounds
--cc-border—Header divider, metadata dividers, and button borders
--cc-primary-soft—Visibility badge background
--cc-primary-soft-foreground—Visibility badge label
--cc-focus-ring—Keyboard focus ring
--cc-backdrop—Background overlay