EmptyStateCard
patternEmpty state card composed from Card, EmptyState, Icon, Text, and Button. Features an icon illustration, heading, description, and a call-to-action button. Three variants: no results, getting started, and error.
No results
Search returned no matches — prompt the user to adjust filters.
Getting started
Onboarding state prompting the user to create their first item.
Error state
Something went wrong — offer a retry action.
Usage
Installation
API Reference
EmptyStateCard props — * required
| Prop | Type | Default | Description |
|---|---|---|---|
Card variant | "ghost" | "outline" | "filled" | "elevated" | "outline" | Elevation level of the outer card. |
EmptyState title* | string | — | Heading text. |
EmptyState description | string | — | Supporting description text. |
EmptyState illustration | React.ReactNode | — | Icon or image above the title. |
EmptyState action | React.ReactNode | — | CTA button or link. |