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
















