Display
Empty
Placeholder state for empty lists, search results, or missing data.
Dashboard Zero State
The primary empty state for a dashboard or main view. Features a prominent icon, title, description, and a clear call-to-action button.
Contextual & Error States
Pre-configured variants for search results or error states. You can also override the default icon with the icon prop.
Minimal & Inline
Use the minimal or simple variants for tighter spaces like dropdowns, sidebars, or small cards. Minimal drops the background and borders entirely.
Properties
| Prop | Type | Default | Description |
|---|---|---|---|
variant | EmptyVariant | 'default' | Semantic design theme variant |
icon | React.ReactNode | — | Custom icon prefix element |
title | string | — | Structural modal header title |
description | string | "There's nothing to show here at the moment." | Supporting description or helper guidance text |
action | React.ReactNode | — | Configures the action option |
compact | boolean | false | Configures the compact option |