About
A gradient-filled stacked area chart for visualizing two data series (e.g. desktop vs mobile traffic) over time, with an interactive tooltip.
Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Area Gradient Chart to your project and fits it to your theme.
Code
How Area Gradient Chart is used: the demo's code. The component's own source comes with a free account.
Usage.tsx
import AreaGradient from "@/components/ui/tanstack-charts-area-gradient";
export default function Demo() {
return (
<div className="flex w-full items-center justify-center p-8">
<div className="w-full max-w-xl">
<AreaGradient />
</div>
</div>
);
}








