Metrics 2 – Centered headline with inline stat columns
- from @shadcncraft
A metrics layout built around a strong centered heading, followed by evenly spaced stat columns with short supporting labels and optional inline links. The pattern emphasizes balance and readability, using clear vertical dividers to separate each metric. On mobile, the stats stack into a single-column list while keeping the headline and hierarchy intact.
Install
New to shadcn? Set up your project
If your project already has a shadcn components.json, skip initialization. Otherwise, run this once from your project root.
pnpm dlx shadcn@latest initpnpm dlx shadcn@latest add @shadcncraft/metrics-2Registry dependencies2
- @shadcncraft/section-heading
- @shadcncraft/metric
Packages0
No npm packages are installed with it.
