About
A full-width, full-height placeholder panel with a large icon, title, and optional subtitle, description, and action button, used to show an empty or error state in a page or section.
Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Empty & Error State to your project and fits it to your theme.
Code
How Empty & Error State is used: the demo's code. The component's own source comes with a free account.
Usage.tsx
import { State } from "@/components/ui/state";
export default function StateDemo() {
return (
<div style={{ height: 320 }}>
<State.Empty title="Nothing here yet" />
</div>
);
}








