About
Here is legends component
Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Legends to your project and fits it to your theme.
Code
How Legends is used: the demo's code. The component's own source comes with a free account.
Usage.tsx
// src/components/ui/legends-chart-demo.tsx
import { LegendsChart } from "@/components/ui/legends";
const DemoLegendsChart = () => {
return (
<div className="flex w-full h-screen justify-center items-center bg-gray-100 p-4">
<LegendsChart events={true} />
</div>
);
};
export { DemoLegendsChart };















