About
A small raised tooltip card for charts that shows a title with label-value rows using tabular numbers, meant to drop into a chart library's custom tooltip/hover slot.
Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Chart Tooltip Card to your project and fits it to your theme.
Code
How Chart Tooltip Card is used: the demo's code. The component's own source comes with a free account.
Usage.tsx
import { ChartTooltipCard } from "@/components/ui/chart-tooltip-card";
export default function ChartTooltipCardDemo() {
return (
<div className="flex min-h-[400px] w-full items-center justify-center bg-bg p-10">
<ChartTooltipCard
title="March 2026"
rows={[
{ label: "Revenue", value: "$48,200" },
{ label: "Collected", value: "$41,650" },
{ label: "Outstanding", value: "$6,550" },
{ label: "Invoices", value: "36" },
]}
/>
</div>
);
}















