Skip to content
Browse docs and components

Empty State

empty-state

What a list, table or page shows before it has anything in it: a stacked icon, a title, one sentence and the next action. So an empty screen reads as a start rather than an error.

Responsive

Install

$npxshadcnadd@forme/empty-state

Adds the component, its registry dependencies, and the token stylesheet you import once.

API reference

Read from the source, so it is the API of the file you install. A prop marked * is required.

EmptyState

What a list, a table or a page says when it has nothing in it yet.

PropTypeDefaultDescription
title*ReactNode—
iconReactNode—
descriptionReactNode—
actionReactNode—The one thing to do next. An empty state without one is a dead end.

Also takes every prop of <div> attributes.