Theme
Stat
One number that matters, with its label and its change.
Examples
- Papers in the library
- 12,480
- +312 this week
- Open concepts
- 7
- No change
- Failed runs
- 2
- +2 since Monday
Props
Stat
One number that matters, with its label and its change.
| Prop | Type | Default | Description |
|---|---|---|---|
label | string | — | |
value | ReactNode | — | |
change? | string | — | The change since the last period, in words that read on their own: "+12% on last week". |
trend? | "flat" | "up" | "down" | "flat" |
Accessibility
- A description list, so the label is read with the value.