Overlays
Action Sheet
iOS-style sheet of actions — destructive actions styled automatically.
Action Sheet
An iOS-style sheet of actions, perfect for context-specific menus on mobile devices.
Properties
| Prop | Type | Default | Description |
|---|---|---|---|
isOpen | boolean | — | Controlled state of overlay visibility |
onClose | () => void | — | Callback function triggered when closing the overlay |
title | React.ReactNode | — | Optional title at the top of the sheet |
description | React.ReactNode | — | Optional description below the title |
actions | ActionSheetAction[] | — | List of actions to display |
cancelLabel | React.ReactNode | "Cancel" | Label for the bottom cancel button |