State

EmptyState API

EmptyState explains blank content areas and provides a clear next action.

Preview

No pages yet

Create the first route to start building.

Import

import { EmptyState } from "@axonyx/react";

Props

PropTypeDefaultDescription
iconReactNodeundefinedOptional visual marker.
titleReactNoderequiredPrimary empty state message.
descriptionReactNodeundefinedSupporting guidance.
actionsReactNodeundefinedAction buttons or links.

CSS contract

.ax-empty-state
.ax-empty-state__icon
.ax-empty-state__title
.ax-empty-state__description
.ax-empty-state__actions