Stat Card
A KPI card with an optional sparkline: the building block behind every Sakani dashboard.
Monthly revenue
$48,900
Variants
Active users
2,340
New signups
128
MRR
$48,900
Props
| Prop | Type | Default | Description |
|---|---|---|---|
| title | string | Stat label. | |
| value | string | The headline number. | |
| description | string | Supporting line under the delta. | |
| delta | string | e.g. "+12.5%", colored by trend. | |
| trend | 'up' | 'down' | 'flat' | Drives the delta's color and arrow. | |
| sparkline | number[] | Data points for an inline sparkline. | |
| variant | 'minimal' | 'icon' | 'featured' | 'minimal' | Visual density. |
| icon | LucideIcon | Leading icon, shown for icon/featured variants. |