Back to gallery

Empty state

Empty state

The source EmptyState: an icon slot, a title, an optional description and an optional actions row. The compact width is 288px and the wide width 576px.

Compact (default), all parts
Nothing here yet
Items you create will show up here.
Wide, all parts
Nothing here yet
Items you create will show up here. A wide empty state keeps longer descriptions on fewer lines, so the text reads as a short paragraph under the title.
Title only (empty icon slot still takes a gap)
Nothing here yet
Title and description, no icon
Nothing here yet
Items you create will show up here.
Icon and actions, no description
Nothing here yet
Disabled action, wrapping actions row
Nothing here yet
Creating items is turned off.
className and contentClassName (mt-8 root, 384px content)
Nothing here yet
The root and the content column take extra classes.
Long title and description wrap inside the width
A title that is long enough to wrap onto a second line in the compact width
Items you create will show up here once you add them, and a long description wraps onto as many lines as it needs inside the compact width.

Interactive actions

Actions are any node. This one shows the library Button's loading state while it works.

Press Create item
Nothing here yet
Items you create will show up here.

Page empty state layouts

The page empty state in each of its six layouts, with the default compact spacing and the default illustration.

layout: default
Nothing here yet
Items you create will show up here.
layout: page
Nothing here yet
Items you create will show up here.
layout: popover
Nothing here yet
Items you create will show up here.
layout: outlined
Nothing here yet
Items you create will show up here.
layout: browse
Nothing here yet
Items you create will show up here.
layout: withPreview
Nothing here yet
Items you create will show up here.

Illustration, spacing and tone

Illustration sizes, spacing and tone of the page empty state.

illustrationSize: default
Nothing here yet
Items you create will show up here.
illustrationSize: icon
Nothing here yet
Items you create will show up here.
illustrationSize: tile
Nothing here yet
Items you create will show up here.
illustrationSize: hero
Nothing here yet
Items you create will show up here.
spacing: default (16px gap)
Nothing here yet
Items you create will show up here.
tone: faded
Nothing here yet
Items you create will show up here.
Title only
Nothing here yet
Description only
Items you create will show up here.

Search with no results

The no-results state for a search: the chip with the magnifying glass, the heading, the sentence with the query and the guidance on its own line. Text cannot be selected.

Query: example

No results found

No matches for “example”. Try a different search.
Query without spaces wraps anywhere

No results found

No matches for “averyveryverylongsearchquerywithoutanyspacesthatcannotwrapnaturallyaverylongsearchquery”. Try a different search.

Right to left

The same states in a right-to-left container.

Empty state
لا يوجد شيء هنا بعد
ستظهر العناصر التي تنشئها هنا.
Search

لم يتم العثور على نتائج

لا توجد نتائج لـ «مثال». جرّب بحثًا مختلفًا.

Light and dark

Each panel sets its own theme scope, so the appearance control above does not change them. The two lower panels nest the opposite theme inside, and the nested parts follow the nearest scope.

Light theme

Empty state
Nothing here yet
Items you create will show up here.
Search
Nothing here yet
Items you create will show up here.

Dark theme

Empty state
Nothing here yet
Items you create will show up here.
Search
Nothing here yet
Items you create will show up here.

Dark theme, with a light panel inside

Empty state
Nothing here yet
Items you create will show up here.
Search
Nothing here yet
Items you create will show up here.

Light theme, nested in dark

Empty state
Nothing here yet
Items you create will show up here.
Search
Nothing here yet
Items you create will show up here.

Light theme, with a dark panel inside

Empty state
Nothing here yet
Items you create will show up here.
Search
Nothing here yet
Items you create will show up here.

Dark theme, nested in light

Empty state
Nothing here yet
Items you create will show up here.
Search
Nothing here yet
Items you create will show up here.