
Usage
import { EmptyState } from "@/registry/blocks/empty-state/empty-state";
<EmptyState title="…" />Props
| Prop | Type | Default | Description |
|---|---|---|---|
title | string | ||
description? | ReactNode | ||
illustration? | "inbox" | "search" | "folder" | ReactNode | "inbox" | Built-in picture, your own node, or none |
actions? | ReactNode | Primary and secondary actions, e.g. <Button>…</Button> | |
bordered? | boolean | false | Dashed outline for use inside a page section |
When to use
First-run lists, empty search results, cleared inboxes and missing data.
When not to use
Loading (use shimmer-loader); errors that need a fix (show the error inline).