Stop Rebuilding UI

Stats Comparison Dual Gauge

A comparison stats card for React and Next.js with two side-by-side radial gauge charts powered by Recharts PieChart, NumberFlow animated percent values centered in each ring, semantic chart token fills, and a delta callout between the panels built with shadcn/ui and Tailwind CSS

Scroll to load preview

Contrast two completion percentages side-by-side with this dual gauge comparison stats card for React and Next.js. Features two aspect-square radial gauges rendered as ChartContainer-wrapped PieCharts with fixed innerRadius and outerRadius, a track Pie at 100 percent behind a filled Pie at the current value, NumberFlow animated percent values centered in each ring, var(--chart-1) and var(--chart-2) semantic fills via the ChartConfig, and a delta callout strip spanning both panels. Built with TypeScript, ChartContainer from shadcn/ui, Recharts PieChart, NumberFlow from number-flow/react, motion/react parent entrance, Lucide React icons, and Tailwind CSS. Perfect for A/B test summary cards, team completion dashboards, pre-versus-post campaign comparisons, and experiment result overviews.

FAQ

Last updated on April 12, 2026

Was this page helpful?

Sign in to leave feedback.