Empty

A placeholder for empty states. Combines an icon, title, description, and optional action to guide users when no content is available.

Default Empty State

No messages yet

When you receive messages, they will appear here.

<Empty>
  <EmptyIcon>
    <Inbox className="h-10 w-10" />
  </EmptyIcon>
  <EmptyTitle>No messages yet</EmptyTitle>
  <EmptyDescription>
    When you receive messages, they will appear here.
  </EmptyDescription>
  <EmptyAction>
    <Button>Compose Message</Button>
  </EmptyAction>
</Empty>

API Reference

PropTypeDefaultDescription
EmptyIconReact.ReactNodeContainer for the icon displayed above the title. Pass any Lucide icon as a child.
EmptyTitleReact.ReactNodeThe heading text for the empty state.
EmptyDescriptionReact.ReactNodeA supporting description displayed below the title.
EmptyActionReact.ReactNodeContainer for the call-to-action, typically a Button.