Stop Rebuilding UI

Stats Bar Chart Horizontal Card

A horizontal bar chart stats card for React and Next.js with a ChartContainer-wrapped Recharts BarChart in vertical layout, category labels on the YAxis, tabular-nums value list, and var(--chart-1) rounded bars built with shadcn/ui and Tailwind CSS

Scroll to load preview

Rank categorical performance at a glance with this horizontal bar chart stats card for React and Next.js. Features a ChartContainer-wrapped Recharts BarChart with layout='vertical' so bars run left-to-right, a YAxis of category labels on the left, a hidden XAxis for a clean edge, rounded bar caps tinted with var(--chart-1), ChartTooltipContent with a dot indicator, and a total-requests summary in the header. Built with TypeScript, ChartContainer from shadcn/ui, Recharts BarChart, motion/react parent entrance, Lucide React icons, and Tailwind CSS. Perfect for API endpoint leaderboards, campaign performance breakdowns, product-by-revenue rankings, and support ticket volume cards.

FAQ

Last updated on April 12, 2026

Was this page helpful?

Sign in to leave feedback.