About
A horizontal bar chart card for visualizing categorical data like monthly visitor or sales statistics, with hover tooltips and a trend summary footer.
Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Horizontal Bar Chart to your project and fits it to your theme.
Code
How Horizontal Bar Chart is used: the demo's code. The component's own source comes with a free account.
Usage.tsx
import BarChartHorizontal from "@/components/ui/tanstack-charts-bar-horizontal";
export default function Demo() {
return (
<div className="flex w-full items-center justify-center p-8">
<BarChartHorizontal />
</div>
);
}
















