Feedback
Empty
Communicates empty, zero-data, or filtered-out views with media, heading, description, and action slots.
Usage
Anatomy
The parts and how they nest, taken from the preview above.
Examples
Canonical icon state
Standard empty presentation with stacked decorative back cards, title, description, and primary action.
Composed actions
Presents multiple next steps arranged with layout primitives like Grid.
Default media visual
Renders plain non-icon media composed from existing Mizen primitives.
Framed composition
Composes inside a Frame panel using Mizen's compound layout components.
Semantic level and dynamic status
Configures semantic heading levels (such as h4) and dynamic status announcements for filtered search results.
Recommendations
| Guidance | Practice |
|---|---|
| Do | Explain whether data is absent or filtered out. Offer a relevant first action or a way to clear filters. |
Usage boundaries
| Guidance | Boundary |
|---|---|
| Scope | Use Error State for failed loading. Empty content must not imply that a failed request returned no records. |
API reference
Public props from @mizen-labs/ui. Use exported prop types for the complete TypeScript contract.
| Prop | Type | Default | Description |
|---|---|---|---|
| | "default" | Visual presentation mode for the media container: default for plain visual or icon for decorated icon card stack. |
| | 3 | Semantic heading level for EmptyTitle, rendering matching native h1 through h6. |
| | — | Root compound container for the empty state layout with responsive centered alignment. |
| | — | Header slot that groups media, title, and description with constrained max width. |
| | — | Media container for illustrations or icon card stacks; defaults to aria-hidden. |
| | — | Semantic heading slot for the primary empty state title. |
| | — | Paragraph slot for supporting description copy. |
| | — | Content slot for call-to-action buttons and secondary controls. |