Docs Components
StatCardexperimental
A headline number for analytics — the metric, its value in big type, and a small note about which way it moved.
API
| Prop | Type | Description |
|---|---|---|
label required | string | Uppercase label. |
value required | string | Pre-formatted number — formatting rules live with the data layer. |
note / trend | string / 'up'|'down' | Delta sentence; trend maps to success/danger text. The sign lives in the text too, never color alone. |
Guidelines
- shouldFour stat cards per row maximum; more belongs in a table.