Stats Radial Progress
Four 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.
statsradialringsprogresslegend
Installation
Run the shadcn CLI in a project with Tailwind CSS. The component lands in components/pixelpapa/stats-radial-progress.tsx.
$pnpm dlx shadcn@latest add "https://pixelpapa.com/r/stats-radial-progress.json"Manual install+
1. Install the dependencies.
$pnpm add motion2. Copy the code from the Code tab above into your project. It imports the cn helper from @/lib/utils, which every shadcn project already has.
Build it with AI
Prefer to let an agent do the wiring? Copy this prompt, describe where the component should go, and paste.
AI prompt
Paste into Claude, Cursor, v0 or Lovable
Add the "Stats Radial Progress" component from PixelPapa UI to this project. What it is: Four 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. Category: Stats. Depends on: motion. 1. Install it with the shadcn CLI: npx shadcn@latest add "https://pixelpapa.com/r/stats-radial-progress.json" (If the CLI is unavailable, fetch that URL, write files[0].content to components/pixelpapa/stats-radial-progress.tsx and install the listed dependencies.) 2. Import it from "@/components/pixelpapa/stats-radial-progress" and place it where I describe below. 3. Keep its animation timings and accessibility attributes. Replace the demo copy and data with content that fits my product, and use my existing theme tokens (bg-background, text-foreground, bg-primary, border-border) rather than hard-coded colours. Where to use it: <describe the page and position here>
More stats
- Stats Bar RaceA 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.
- 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 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.