Stats Bar Race
UnlimitedA bar-chart race: horizontal bars grow and re-rank with layout springs as the year advances on its own, with a play/pause control and a year scrubber.
statsbar-racechartrankinglayout
Installation
Run the shadcn CLI in a project with Tailwind CSS. The component lands in components/pixelpapa/stats-bar-race.tsx. This is an Unlimited component, so the CLI needs your API key: set it up once, then install it by name.
Build it with AI
Prefer to let an agent do the wiring? Copy this prompt, describe where the component should go, and paste.
More stats
- Stats Count Up RowFour headline numbers in a divided row that count up from zero out of a blur when scrolled into view, each under a hairline that fills as it counts.
- Stats Grid BorderedA minimal hairline grid of serif numerals that rise through a mask on view; hovering a cell floods it with the foreground colour from the bottom edge and reveals a footnote.
- Stats Radial ProgressFour concentric rings sweep to their values with spring easing beside a legend; hovering a row thickens its ring, dims the rest and swaps the centre readout.
- Stats Split QuoteA split section: an oversized serif stat counts up on the left with a before/after bar, while the customer quote on the right reveals word by word.
- Stats Ticker OdometerA live counter built from rolling digit columns: each digit springs to its new value as the total ticks up, with three smaller odometers underneath.
- Stats With SparklinesFour stat cards whose sparklines draw in on view; move the pointer across a card to scrub its history and the headline number follows the marker.