Stats 28

Pro

A payroll stats section with four giant numbers in a two by two grid, each counting up beside its own small sparkline.

Shadcn Stats 28 block

Component data

ID
stats28
Access
pro
Created
Nov 19, 2026
Type
block
Libraries
Radix UI, Base UI, React Aria

Stats 28 block design & features

Stats28 is a stat grid section built with shadcn/ui and Motion. The heading and a text link sit on the left and a 2×2 grid of large figures with hairline borders fills the right.

On load each number counts up on a spring in turn while its sparkline draws in and an end dot pops on, each in its own flat accent colour. Hovering a cell replays its number, and when the page sits idle the cells replay one after another so the grid keeps moving.

It suits payroll, fintech, marketplaces and SaaS pages that lead with a few headline metrics. Borders and text use theme tokens so it works in dark mode, and reduced motion shows the final numbers and lines.