Skip to main content
239

Search Lumen

Find components, APIs, guides, and recipes.

GitHub
Themes
React Native docs
LayoutReact Native

Popover

Show anchored interactive content with platform-native presentation, including a native Modal in React Native.

Public APILumenPopoverReact Native

Native example

Use Popover

Use it for short forms or option panels. React Native uses a native Modal that preserves surrounding React contexts; background interaction follows modal semantics. Supply non-interactive trigger content and an initialFocusRef for the first panel control. SwiftUI uses system popover presentation, Compose uses a focusable Popup, and ArkUI uses non-modal bindPopup without a mask. Use a sheet for long tasks.

Popover rendered in the Expo web renderer Lumen playground

Captured exampleExpo web renderer

Open interactive preview
Open the Popover demo
tsx
<LumenPopover label="Preferences" open={open} onOpenChange={setOpen} trigger={<LumenText>Preferences</LumenText>}><LumenButton onPress={() => setOpen(false)}>Done</LumenButton></LumenPopover>

Reference

Public API

The primary shared and platform-specific options exposed by LumenPopover.

APIValues or typeDefaultDescription
open / placement / childrencontrolled visibility / logical side and alignment / interactive panel contentrequired / bottom-start / requiredUse it for short forms or option panels.

Native behavior

Design and accessibility

When to use it

Use it for short forms or option panels. React Native uses a native Modal that preserves surrounding React contexts; background interaction follows modal semantics. Supply non-interactive trigger content and an initialFocusRef for the first panel control. SwiftUI uses system popover presentation, Compose uses a focusable Popup, and ArkUI uses non-modal bindPopup without a mask. Use a sheet for long tasks.

Accessibility

The trigger reports expanded state; focus moves into the panel and back to the trigger. React Native uses native modal interaction and accessibility semantics.

Shared component

Available on other platforms

Apple / SwiftUIAndroid / Compose Web
React Native docsNative primitives