Stop Rebuilding UI

Stats Histogram Stacked Bins

A stacked-bin histogram stats card for React and Next.js with bucketed BarChart bars subdivided by stackId into three request-size segments, a 180px fixed chart body, and ChartLegendContent pills built with shadcn/ui and Tailwind CSS

Scroll to load preview

Break down a distribution by category with this stacked-bin histogram stats card for React and Next.js. Features a ChartContainer-wrapped Recharts BarChart with three stacked Bar components sharing a single stackId, var(--chart-1) / var(--chart-2) / var(--chart-3) segment fills, a fixed 180px chart body, CartesianGrid with horizontal dashed lines, ChartTooltipContent showing per-segment values, ChartLegendContent pills, and tabular-nums bucket tick labels on the XAxis. Built with TypeScript, ChartContainer from shadcn/ui, Recharts BarChart, motion/react parent entrance with useReducedMotion guard, Lucide React icons, and Tailwind CSS. Perfect for latency distribution dashboards, response-size bucket reports, error-category histograms, and performance budget overviews.

FAQ

Last updated on April 12, 2026

Was this page helpful?

Sign in to leave feedback.