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.
