EmptyState
Placeholder when nothing loaded.
Loading…
Placeholder when nothing loaded.
Loading…
Placeholder when no file is loaded or a list is empty — guides users to Dropzone or first action.
Drop an image or click to browse
| Prop | Type | Default | Description |
|---|---|---|---|
| title | string | — | Primary message. |
| description | string | — | Supporting text. |
| action | ReactNode | — | Optional CTA (button, link). |
| icon | ReactNode | — | Optional icon above title. |
| className | string | — | Optional CSS class. |
Also copy lib/utils.ts (cn helper):