Anatomy
- Header — page title, date range, global actions
- Stats row — key metrics as stat cards
- Primary chart — the main visualisation
- Secondary panels — supporting charts, tables, activity feeds
- Quick actions — shortcuts to common tasks
Install
Layout
Header
Stats row
lg. Dropping to one column wastes the width a phone has;
staying at four makes every number unreadable.
Charts
Charts read their colours from the--chart-* tokens, so they follow the theme without any
per-chart configuration. See charts.
Grid shapes
On mobile
Dashboards stack. Prioritise: stats first, then the primary chart full width, then secondary panels in order of importance, then tables.Refreshing
- Show the last refresh time in the header.
- Use skeletons for the sections that are refreshing.
- Never a full-page loading state — refresh sections independently, so the reader keeps the numbers that did not change.