Stop Rebuilding UI

Stats Area Chart With Reference Area

An area chart stats card for React and Next.js with a ReferenceArea highlighting an incident window, gradient fill via var(--chart-1), and a labeled amber overlay built with shadcn/ui and Tailwind CSS

Scroll to load preview

Call out a specific time window on a trend chart with this area-chart stats card for React and Next.js. Features a ChartContainer-wrapped Recharts AreaChart with var(--chart-1) gradient fill, a Recharts ReferenceArea overlay marking an incident window with a soft amber tint and inline label, CartesianGrid with horizontal-only dashed lines, ChartTooltipContent with a line indicator, and stripped XAxis chrome. Built with TypeScript, ChartContainer from shadcn/ui, Recharts AreaChart, ReferenceArea, lucide-react icons, motion/react parent entrance, and Tailwind CSS. Perfect for SRE incident reviews, product launch impact analysis, marketing campaign windows, and any analytics chart that needs to annotate a specific date range.

FAQ

Last updated on April 12, 2026

Was this page helpful?

Sign in to leave feedback.