About
Here is Area chart small sized component
Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Area Chart to your project and fits it to your theme.
Code
How Area Chart is used: the demo's code. The component's own source comes with a free account.
Usage.tsx
import { useState } from "react";
import { Component } from "@/components/ui/area-chart";
import { cn } from "@/lib/utils";
const IncidentReportCardSmallDemo = () => {
const isDarkMode = true;
return (
<div
className={cn(
"flex flex-col w-full min-h-screen justify-center items-center p-4 transition-colors duration-300",
isDarkMode ? "dark bg-gray-900" : "bg-gray-100"
)}
>
<Component isDarkMode={isDarkMode} />
</div>
);
};
export { IncidentReportCardSmallDemo };















