Components › Feedback
Empty state
What a list or page shows before it has content, with a way forward.
Installation
npx plankui@latest add empty-stateUsage
import { EmptyState } from "@/components/ui/empty-state";
<EmptyState icon={<FolderPlus />} title="No projects yet" action={<Button>New project</Button>} />API reference
| Prop | Type | Default | Description |
|---|---|---|---|
| title | ReactNode | required | Headline. |
| description | ReactNode | Supporting line. | |
| icon | ReactNode | Shown on a key. | |
| action | ReactNode | Buttons. |