Components/Empty State

Empty State

Newlayout

Composed empty-content panel with icon, title, description, and optional action slot.

import { EmptyState, Button } from '@/components/forge'

Preview

Empty State

No saved components

Start by browsing the library and saving the patterns you use most.

Code Example

Props

PropTypeDefaultRequiredDescription
titleReact.ReactNode-YesPrimary empty state message
descriptionReact.ReactNode-NoSupporting copy
iconReact.ReactNode-NoCustom icon slot
actionReact.ReactNode-NoOptional action slot

Variants

default

Accessibility

  • Keeps action content in normal tab order
  • Icon is decorative unless a custom icon adds its own label

Related Components