Action Sheet

Detached sheet of actions that rises from the bottom over a fading backdrop. Your pick stays highlighted as the other rows dim, then the sheet closes. Drag down or tap outside to dismiss.

Preview

Installation

npx @lumioui/cli add action-sheet

Usage

import { ActionSheet } from "@/components/ui/action-sheet/action-sheet";
<ActionSheet />

Examples

Confirm

A calendar's "delete a repeating event" choice.

Share

A shared-album photo's "…" menu.

API reference

Prop Type Default
actions* ActionSheetAction[]

List of actions; destructive ones render first.

—
open boolean

Controlled open state. Omit for uncontrolled use with defaultOpen.

—
defaultOpen boolean

Uncontrolled initial open state. Default false.

false
onOpenChange (open: boolean) => void —
title string

Optional title above the actions (13pt, muted).

—
message string

Optional descriptive message below the title.

—
cancelLabel string

Label for the separated cancel button. Default "Cancel".

"Cancel"
material "solid" | "glass"

Surface material. "solid" (default) is an opaque popover surface that reads in light and dark over any screen; "glass" opts into Lumio glass — use it only when the sheet floats over photos or video.

"solid"
className string

Extra classes for the sheet container.

—