All registry items
blocks/r/kpi-grid.json
KPI Metric Grid
Calm 4-column analytics KPI metric tiles with title, delta chip, crisp display figure, and subtitle.
KPI Metric Grid
Toggle Tablet or Mobile for real isolated iframe breakpoints, or switch to Code for full source.
Active Users+14.2%
24,890
vs previous 7 days
API Requests+22.6%
1.84M
99.98% success rate
Median Latency-18 ms
142 ms
p95 at 290 ms
Estimated SpendOn track
$418
of $1,200 monthly cap
Installation
npx shadcn@latest add https://tonal.harlo.dev/r/kpi-grid.jsonDependencies
Tonal Registry Dependencies
npm Packages
clsxtailwind-merge
Usage
import { KpiGrid } from "@/components/tonal/blocks/kpi-grid";
<KpiGrid items={metrics} columns={4} />Props & Tokens API
| Prop | Type | Default | Description |
|---|---|---|---|
| items | KpiMetric[] | DEFAULT_KPIS | Metric tile records. |
| columns | 2 | 3 | 4 | 4 | Desktop grid column count. |