Stop Rebuilding UI

Stats Area Chart Dual Series

A dual-series area chart stats card for React and Next.js with overlapping var(--chart-1) and var(--chart-2) gradient fills, ChartLegend pills, ChartTooltipContent with line indicator, and a 200px fixed-height chart body built with shadcn/ui and Tailwind CSS

Scroll to load preview

Compare two metrics on a single canvas with this dual-series area chart stats card for React and Next.js. Features a ChartContainer-wrapped Recharts AreaChart with two overlapping Area series, var(--chart-1) and var(--chart-2) gradient fills, a fixed 200px chart body, CartesianGrid with horizontal dashed lines, ChartTooltipContent with a line indicator, ChartLegendContent pills, tabular-nums dual headline values, and specific weekday XAxis ticks. Built with TypeScript, ChartContainer from shadcn/ui, Recharts AreaChart, motion/react parent entrance with useReducedMotion guard, Lucide React icons, and Tailwind CSS. Perfect for SaaS signups-vs-churn dashboards, desktop-vs-mobile traffic splits, completed-vs-failed job overviews, and web-vs-mobile session views.

FAQ

Last updated on April 12, 2026

Was this page helpful?

Sign in to leave feedback.