When to use it
Use when a region or page cannot show its primary content. Keep retry and request policy in application state; use Banner when existing content remains useful.
Explain an unavailable region or page and offer application-owned recovery.
Native example
Use when a region or page cannot show its primary content. Keep retry and request policy in application state; use Banner when existing content remains useful.
<LumenErrorState
kind="offline"
title="Could not load projects"
description="Check your connection and try again."
reference="REQ-4F82"
actions={<LumenButton onPress={retry}>Try again</LumenButton>}
/>Reference
The primary shared and platform-specific options exposed by LumenErrorState.
| API | Values or type | Default | Description |
|---|---|---|---|
| title | string | Required | Names the unavailable content or failed operation. |
| kind | error | offline | error | Selects error or offline context and its default illustration. |
| layout | compact | default | page | default | Adapts spacing and whether the state fills its available page height. |
| reference | string | undefined | Shows a safe support reference without exposing technical details. |
| actions | ReactNode | undefined | Provides application-owned recovery actions. |
Native behavior
Use when a region or page cannot show its primary content. Keep retry and request policy in application state; use Banner when existing content remains useful.
The title is a heading, recovery actions retain native focus order, and React Native and Compose expose configurable live-region behavior.
Shared component