Data display
Empty state
Explain why a view is empty and give users a next step when one is available.
Anatomy
- Illustration
- Title
- Explanation
- Next action
Configuration
Empty scenarios
No palettes yet
Create a palette to start building your library.
Use when someone opens a collection they haven’t added anything to yet.
No matching palettes
Clear your filters to see all palettes.
Use when a search or filter returns zero matches in an existing collection.
Design tokens used
| Category | Token | Value | Where it’s used |
|---|---|---|---|
| Colour | --cc-foreground | — | Empty-state title and supporting action |
--cc-muted-foreground | — | Empty-state icon, description, and reset action | |
--cc-surface | — | Secondary button background | |
--cc-surface-muted | — | Empty-state icon background and supporting action hover | |
--cc-border | — | Secondary button border | |
--cc-primary | — | Primary button background | |
--cc-primary-hover | — | Primary button background on hover | |
--cc-primary-foreground | — | Primary button label and icon | |
--cc-focus-ring | — | Keyboard focus ring |