Metric Ledger
A KPI table with a row per metric and a column per entity (org, region, product). Each cell shows its value with an optional SVG sparkline, a change pill against a prior figure and a note. Optional section bands, label hover notes and a per-row actions snippet. Ships with a demo data file you can delete.
| Staffing and movement | North | South | |||||
|---|---|---|---|---|---|---|---|
| Staffing | |||||||
| Headcount | 214 +2.4% as of Oct 2026 | 97 -2.0% as of Oct 2026 | |||||
| Avg tenure | 4.2 +2.4% years | 5.6 0.0% years | |||||
| Movement | |||||||
| Hires | 41 | 12 | |||||
| Terminations | 15 9 voluntary | 19 14 voluntary | |||||
| Turnover rate | 7.4% -1.7 pts | 18.8% +2.6 pts | |||||
| Agency spend | $184.0K +14.3% | — | |||||
Installation
pnpm dlx shadcn-svelte@latest add https://mitchellaha.github.io/m-cn-svelte-registry/r/metric-ledger.json