About
A bar chart card that visualizes monthly values which can be positive or negative, coloring bars differently below zero, built with TanStack Charts.
Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Bar Chart Negative to your project and fits it to your theme.
Code
How Bar Chart Negative is used: the demo's code. The component's own source comes with a free account.
Usage.tsx
import BarChartNegative from "@/components/ui/tanstack-charts-bar-negative";
export default function BarChartNegativeDemo() {
return (
<div className="flex w-full items-center justify-center p-10">
<BarChartNegative />
</div>
);
}








