About
Beautiful and modular empty state components based of https://21st.dev/serafimcloud/empty-state/default
Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Interactive Empty State to your project and fits it to your theme.
Code
How Interactive Empty State is used: the demo's code. The component's own source comes with a free account.
Usage.tsx
import { EmptyState } from "@/components/ui/interactive-empty-state";
import { FileText, File, FilePlus, Plus } from "lucide-react";
export default function Demo() {
return (
<div className="flex min-h-[400px] w-full items-center justify-center p-6">
<EmptyState
title="No documents yet"
description="Create your first document to get started. It only takes a few seconds."
icons={[<FileText key="1" />, <File key="2" />, <FilePlus key="3" />]}
action={{
label: "Create document",
icon: <Plus className="h-4 w-4" />,
onClick: () => {},
}}
/>
</div>
);
}










