KpiRow
2–4 KPI cards with aligned baselines.
npx shadcn add @lopifi/kpi-rowHow it behaves
What it renders, what it refuses to render, and why. The same paragraphs as the family spec, so the two can’t disagree.
2–4 KpiCards with a shared figure baseline. Forces Inter on all figures regardless of the family prop, because they align across the row. The parent enforces it; the caller can't override it.
More in Dashboard & charts
See also
Where this component is specified, defined and running.
Elsewhere in the system
The live section KpiRow renders in, the calculators behind its figures, and the ledger payloads that feed it.
- KpiRow, runningThe cards showcase — live, with theme, density, grayscale and reduced-motion switches.
- Dashboard & chartsWe wrap a charting engine (Recharts, or visx where we need more control) instead of building one. What we add is everything a chart library doesn't know about money. Specs for 11 React components: DashboardShell, KpiRow, MoneyChart, MoneyBarChart and 7 more.