Placeholder for empty collections, zero-result searches and unconfigured features — title, description and action slots.

npx slipstream-ui@latest add empty-state
Empty collection

No classes yet

Create your first class to start scheduling students.

Props

PropTypeDefaultDescription
titlestringrequiredPrimary message.
descriptionstring—Supporting line explaining the next step.
iconReactNode—Decorative icon above the title.
actionReactNode—Primary action (Button or link).
secondaryActionReactNode—Secondary action beside the primary one.
size'sm' | 'md''md'Compact padding for panels and table bodies.

Accessibility

  • Actions are real controls, so they stay focusable and announced.
  • Use Alert for failures — empty is a normal state, not an error.

Browser support

BrowserTested versions
Chrome111+ (Mar 2023)
Edge111+ (Mar 2023)
Firefox121+ (Dec 2023)
Safari17.2+ — macOS & iOS (Dec 2023)

Slipstream components rely only on CSS custom properties, Flexbox/Grid, and ARIA — the everyday baseline of the last two years of evergreen releases. Anything newer is progressive enhancement: unsupported browsers keep full functionality with static behavior instead of animations.

Was this page helpful?