About
A donut chart card that summarizes current-year income vs expenses with a total value and percentage change, for dashboard financial widgets.
Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Current Year Chart to your project and fits it to your theme.
Code
How Current Year Chart is used: the demo's code. The component's own source comes with a free account.
Usage.tsx
import CurrentYearCode from "@/components/ui/current-year-chart";
export default function CurrentYearChartDemo() {
return (
<div className="w-full max-w-sm">
<CurrentYearCode />
</div>
);
}















