Skip to content
nexubDesign System
v2.4.0

Components · Data Display

Empty State

StableSince v0.0.1

Placeholder UI shown when a list or page has no content.

import { EmptyState } from '@nexub/react';

Examples

Default

Custom illustration

Props

Props
PropTypeDefaultDescription
EmptyState.Root layout'centered' | 'inline''centered'"centered" stacks content vertically in the middle of its container; "inline" aligns content to the start.
EmptyState.Illustration childrenReact.ReactNode—Icon or SVG illustration to render above the title.
EmptyState.Title childrenrequiredReact.ReactNode—Primary heading text for the empty state.
EmptyState.Description childrenReact.ReactNode—Supporting text providing more context or guidance.
EmptyState.Actions childrenReact.ReactNode—One or more action buttons rendered below the description.