When to use it
Use as the root of a React Native screen. Pass insets from the application safe-area provider, keep refresh state in the application, and set scroll={false} when the body is already a virtualized list.
Scaffold a themed React Native screen with safe areas, keyboard avoidance, refresh, and pinned slots.
Native example
Use as the root of a React Native screen. Pass insets from the application safe-area provider, keep refresh state in the application, and set scroll={false} when the body is already a virtualized list.

Captured exampleExpo web renderer
Open interactive preview<LumenScreen
footer={<LumenButton onPress={save}>Save</LumenButton>}
header={<LumenText variant="title">Projects</LumenText>}
refreshAccessibilityLabel="Refresh projects"
refreshing={refreshing}
safeAreaInsets={insets}
onRefresh={refreshProjects}
>
{content}
</LumenScreen>Reference
The primary shared and platform-specific options exposed by LumenScreen.
| API | Values or type | Default | Description |
|---|---|---|---|
| safeAreaInsets | LumenSafeAreaInsets | {} | Keeps the header, body, and footer clear of system bars and the home indicator. |
| scroll | boolean | true | Scrolls the body between the pinned header and footer. |
| maxContentWidth | number · null | 720 | Centers content at a readable width on tablets; null uses the full width. |
| refreshing / onRefresh | boolean · () => void | undefined | Adds a Lumen pull-to-refresh indicator to the scrolling body. |
| header / footer | ReactNode | undefined | Pins content above and below the body. |
| avoidKeyboard | boolean | true | Keeps focused fields and the footer above the software keyboard. |
Native behavior
Use as the root of a React Native screen. Pass insets from the application safe-area provider, keep refresh state in the application, and set scroll={false} when the body is already a virtualized list.
Header and footer stay outside the scroll region, content stays clear of system bars and the software keyboard, and native scroll and refresh semantics are preserved.