Founding price: $35, then $99 after 23:59 UTC on 4 November, then $99
Get ProAn empty list that explains why it is empty, offers the main action and a Check again button, refreshes on pull and, when the refresh finds items, replaces the empty state and announces the count. Use this when a phone list can be empty because nothing has arrived yet and people will want to check again.
Derived from this item’s props table, because it declares no controls of its own. This item has no standalone playground, so changes update the code, the share link and the AI prompt.
Use it when a phone list can be empty because nothing has arrived yet and people will want to check again.
Do not use it for lists that are empty because of a filter (offer Clear filters) or because of an error (show the error).
This item is part of tealmac UI Pro
The source for this item installs with a Pro licence key. Log in with your key to see the install command, or read the Pro setup page.
| Prop | Type | Default | Description |
|---|---|---|---|
load | () => Promise<string[]> | required | Fetch the items. |
actionLabel | string | "Add your first item" | The main action. |
onAction | () => void | - | Called by the main action. |
The pattern ships with a Testing Library test (empty-state-pull-hint.test.tsx) that drives it through roles and the keyboard.