EmptyState
Molecule
Centered, calm, never blame the user. Always tell them what could be here, and ideally how to get there.
Playground
Every control sets a real prop of EmptyStateProps. The JSX below updates as you go.
Web
iOS
Android
JSX · EmptyStateProps
Variants
5 examples from src/molecules/empty-state/empty-state.md, each rendered live from its own JSX.
Anatomy
1
Container
2
Icon
3
Title
4
Description
5
Action
Dimmed parts appear only in some states or variants.
Props
11 props on EmptyStateProps, grouped as they are declared in source. Required props are marked *.
Accessibility and keyboard
Keyboard
Enter
Activates
Space
Activates
Tab
Moves focus on
Semantics
ARIA on web
aria-hidden
Below the platform minimum, the touch area grows to 44 pt on iOS and 48 dp on Android without moving the layout.
Platform skins
The playground's props on each platform: same tree, native shapes, type and touch sizes.
Usage
The column is padded 40 by 24 at an 18px corner with a 12px rhythm: a 52px glyph tile in the accent's soft wash, a 19px display-face title, a muted 14px description capped at 320px, and a secondary action. bordered draws a dashed edge, elevated lifts it onto a shaded card, and compact tightens the padding, rhythm, tile and title for a table cell.
Tokens
Read from the playground render. Values follow the scheme and the ion hue.
--bls
--bw
--f-dp
--fd
--ft
--hl
--ion-soft
--ion-tx
--ln2
--sf3
--tx
--tx2