Skip to content

EmptyState

What an empty screen or list says: a short title; page adds the icon disc, a sentence and an action, list one muted line.

Group: Feedback · Kind: macro · in the lite catalog

example
No notificationsYou are all caught up.
size · page
No notificationsYou are all caught up.
size · list
No notifications

Open in the playground

The same specimen painted by React, SwiftUI, Compose and gpui.

exponential-ui-empty-state on Web
exponential-ui-empty-state on iOS
exponential-ui-empty-state on Android
exponential-ui-empty-state on Desktop
Prop Type Required Bindable Description
icon icon yes – The glyph: in the disc on page, bare on list.
title string yes – What is empty.
description string – – The next step, page only.
actionLabel string – – A button label, page only; pressing it fires press.
size page | list – – page = a whole screen’s empty state with disc, sentence and action; list = one muted line under a bare glyph, no description, no action. Default "page".
  • on.press: runs an action

None.

none

No basic catalog component maps here.

Box · Button · Icon · Text

Role: status

status; the action = button

Keys Action
– Enter, Space on the action

Recipe parts: EmptyState/root EmptyState/disc EmptyState/icon EmptyState/title EmptyState/description EmptyState/action

Keyed by: size :hover :pressed :focus :disabled :checked :open :selected :invalid :dragover

Themes · Write a theme

Button · Icon · Text · Badge · Alert · Chip · Progress · Meter