Components
EmptyState
Placeholder for empty lists, zero-data views, and onboarding prompts.
Import
Usage
Props
| Prop | Type | Default | Description |
|---|---|---|---|
icon | React.ReactNode | — | Illustration or icon above title |
title | string | — | Primary message |
description | string | — | Secondary explanation text |
action | React.ReactNode | — | CTA button(s) |
className | string | — | Additional CSS classes |
In a table
Accessibility
- Renders as a
<div>with appropriate text hierarchy titlerenders as<h3>,descriptionas<p>- Icon is
aria-hidden— text content carries meaning - Action buttons have full keyboard access