About
A stacked bar chart that shows a custom-titled tooltip with per-series labels and colors when hovering or focusing a data point.
Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Custom Tooltip Label Chart to your project and fits it to your theme.
Code
How Custom Tooltip Label Chart is used: the demo's code. The component's own source comes with a free account.
Usage.tsx
import TooltipLabelCustom from "@/components/ui/tanstack-charts-tooltip-label-custom";
export default function TooltipLabelCustomDemo() {
return (
<div className="flex w-full items-center justify-center p-8">
<TooltipLabelCustom />
</div>
);
}








