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
















