About
A one-click button that toggles between an empty and a seeded demo-data state, useful for showcasing empty/loaded UI states without a backend.
Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Sample Data Loader to your project and fits it to your theme.
Code
How Sample Data Loader is used: the demo's code. The component's own source comes with a free account.
Usage.tsx
import { SampleData } from "@/components/ui/sample-data";
export default function SampleDataDemo() {
return (
<div className="flex min-h-[320px] w-full items-center justify-center bg-background p-8">
<SampleData />
</div>
);
}








