Data display
Icon card
Pair an icon with a short title and supporting text so readers can recognise a task or category quickly.
Anatomy
- Card title
- Supporting text
- Icon
Configuration
Icon treatment
Create a palette
Start with a base colour and build a scale.
Bring attention to a common starting point.
Create a palette
Start with a base colour and build a scale.
Keep the emphasis on the title.
Design tokens used
| Category | Token | Value | Where it’s used |
|---|---|---|---|
| Colour | --cc-foreground | — | Card title |
--cc-muted-foreground | — | Supporting text and neutral icon | |
--cc-surface | — | Card surface | |
--cc-surface-muted | — | Neutral icon background | |
--cc-border | — | Card outline and header rule | |
--cc-primary-soft | — | Accent icon background | |
--cc-primary-soft-foreground | — | Accent icon |