When to use it
Explain why the state is empty and offer one useful next action when recovery is possible. Do not use for loading or error states.
Explain missing content with supporting copy, an optional graphic, and a recovery action.
Native example
Explain why the state is empty and offer one useful next action when recovery is possible. Do not use for loading or error states.
<LumenEmptyState
title="No saved workspaces"
description="Create a workspace to get started."
actions={<LumenButton onPress={createWorkspace}>Create</LumenButton>}
/>Reference
The primary shared and platform-specific options exposed by LumenEmptyState.
| API | Values or type | Default | Description |
|---|---|---|---|
| title | string | Required | Names the empty state. |
| graphic | ReactNode | undefined | Provides an optional platform-native supporting graphic. |
| description | string | undefined | Explains the state or next step. |
| actions | ReactNode | undefined | Provides optional recovery actions. |
Native behavior
Explain why the state is empty and offer one useful next action when recovery is possible. Do not use for loading or error states.
The title, description, optional graphic, and recovery actions remain in a readable native order.
Shared component