Stat
A KPI card with a trend-coloured change.
With trend
Grid
With sparkline
API reference
Inputs
| Prop | Type | Default | Description |
|---|---|---|---|
label | string | null | null | Small caption shown above the value. |
value | string | number | '' | Primary statistic displayed as the large value. |
change | string | null | null | Change indicator (e.g. "+12%"); coloured by trend. |
trend | "down" | "neutral" | "up" | null | null | Explicit trend direction; inferred from `change`'s sign when null. |
caption | string | null | null | Muted text shown next to the change value. |
sparkline | readonly number[] | [] | Optional inline sparkline drawn from a series of numbers. |
Every ng-blatui component also accepts a class input to merge extra Tailwind classes onto the host.