Stop Rebuilding UI

Stats Histogram With Percentile Markers

A latency histogram stats card for React and Next.js with p50/p95/p99 ReferenceLine markers, bucketed BarChart bars, and ChartContainer-wrapped chart body built with shadcn/ui and Tailwind CSS

Scroll to load preview

Visualize response-time distributions at a glance with this histogram stats card for React and Next.js. Features a ChartContainer-wrapped Recharts BarChart with 16 bucketed bars in a neutral muted fill, three vertical ReferenceLine overlays at p50, p95, and p99 with dashed strokes and top-aligned labels, a header with the median value, CartesianGrid horizontal-only lines, and tabular-nums axis ticks. Built with TypeScript, ChartContainer from shadcn/ui, Recharts BarChart plus ReferenceLine, motion/react parent entrance, Lucide React icons, and Tailwind CSS. Perfect for API latency monitoring, page load time dashboards, database query performance cards, and SLO observability pages.

FAQ

Last updated on April 12, 2026

Was this page helpful?

Sign in to leave feedback.