EmptyState
Empty data placeholder with pre-built variants.
Preview
No data found
There's nothing to show here yet.
Installation
bash
npx auralix-ui add empty-stateUsage
Empty States
tsx
import { NoData, NoSearchResults, ErrorState } from "@/components/ui/EmptyState";
<NoData />
<NoSearchResults />
<ErrorState action={<Button>Retry</Button>} />Props
| Name | Type | Default | Description |
|---|---|---|---|
icon | ReactNode | - | Icon to display. |
title | string | - | Title text. |
description | string | - | Description text. |
action | ReactNode | - | Action button. |
On this page