EmptyState API
EmptyState explains blank content areas and provides a clear next action.
Preview components
Open the component docs to see examples, combinations, and usage patterns built on top of this API.
- EmptyStateNo-content examples and action patterns.
Preview
No pages yet
Create the first route to start building.
Import
import { EmptyState } from "@axonyx/react";Props
| Prop | Type | Default | Description |
|---|---|---|---|
| icon | ReactNode | undefined | Optional visual marker. |
| title | ReactNode | required | Primary empty state message. |
| description | ReactNode | undefined | Supporting guidance. |
| actions | ReactNode | undefined | Action buttons or links. |
CSS contract
.ax-empty-state .ax-empty-state__icon .ax-empty-state__title .ax-empty-state__description .ax-empty-state__actions