Stop Rebuilding UI

Stats Bar Chart With Target Line

A bar chart stats card for React and Next.js with a horizontal ReferenceLine target threshold, per-bar Cell colors for above/below target, a ChartContainer-wrapped Recharts BarChart, and tabular-nums summary row built with shadcn/ui and Tailwind CSS

Scroll to load preview

Track progress against a daily target with this bar chart stats card for React and Next.js. Features a ChartContainer-wrapped Recharts BarChart with per-bar Cell fills (emerald above the target, amber below), a horizontal ReferenceLine with a label marking the quota, a CartesianGrid with horizontal-only dashed lines, ChartTooltipContent, and a summary footer showing days hit versus days missed. Built with TypeScript, ChartContainer from shadcn/ui, Recharts BarChart + ReferenceLine + Cell, motion/react parent entrance, Lucide React icons, and Tailwind CSS. Perfect for sales quota dashboards, support team SLO monitors, fitness step trackers, and manufacturing throughput boards.

FAQ

Last updated on April 12, 2026

Was this page helpful?

Sign in to leave feedback.