EmptyState

Display contextual empty states with icons, titles, descriptions, and actions.

Installation

bash
npx @smicolon/cli add empty-state

Run init once per project before adding components. See Installation.

Preview

No products yet

Get started by adding your first product.

Search Results

No results found

No results for "linen shirt". Try a different search term.

Empty Data

No orders yet

Get started by creating your first order.

Sizes

No products yet

No products yet

No products yet

Props

PropTypeDefaultDescription
iconReactNode—Icon above the title.
titlestring—Main title.
descriptionstring—Text below the title.
actionReactNode—Primary action.
secondaryActionReactNode—Secondary action.
size"sm" | "default" | "lg""default"Size of the empty state.
classNamestring—Extra classes for the component.