About
A bar chart whose tooltip shows a custom-formatted date title and activity breakdown, built with TanStack Charts.
Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Tooltip Label Formatter to your project and fits it to your theme.
Code
How Tooltip Label Formatter is used: the demo's code. The component's own source comes with a free account.
Usage.tsx
import TooltipLabelFormatter from "@/components/ui/tanstack-charts-tooltip-label-formatter";
export default function TooltipLabelFormatterDemo() {
return (
<div className="flex w-full items-center justify-center p-8">
<TooltipLabelFormatter />
</div>
);
}








