Skip to content
nexubDesign System
v2.4.0

Components · Mobile only · Overlays

Action Sheet

AlphaiOS & Android

A list of actions from the bottom: the system sheet on iOS, a Nexub sheet on Android.

Usage

@nexub/react-nativeWeb: DropdownMenu
import { ActionSheet } from '@nexub/react-native';

<ActionSheet open={open} onOpenChange={setOpen} title="Photo" actions={[{ label: 'Take photo', onPress: shoot }, { label: 'Remove', destructive: true, onPress: remove }]} />

Interactive preview of @nexub/react-native rendered for the web. Native chrome (switches, pickers, Liquid Glass) looks like the platform on a device.

On device

Action Sheet on iPhone (iOS simulator)

iPhone (iOS simulator)

Action Sheet on Pixel (Android emulator)

Pixel (Android emulator)

Screenshots from the latest CI run of the showcase app; the live frame renders the same code for the web.

ActionSheet props

ActionSheet props (React Native)
PropTypeDefaultDescription
openrequiredboolean——
onOpenChangerequired(open: boolean) => void——
titlestring——
messagestring——
actionsrequiredSheetAction[]——