v0.1 public beta early access on GitHub
Home / Components / action-sheet

Action SheetiOS

iOS-style slide-up sheet with backdrop dismiss and safe-area padding.

$ npx lumioui add action-sheet
import { ActionSheet } from "@/components/ui/action-sheet/action-sheet";
Props8
actions ActionSheetAction[] List of actions; destructive ones render first (iOS idiom).
open? boolean Controlled open state. Omit for uncontrolled use with defaultOpen.
defaultOpen? boolean Uncontrolled initial open state. Default false.
onOpenChange? (open: boolean) => void
title? string Optional bold title above the actions.
message? string Optional descriptive message below the title.
cancelLabel? string Label for the separated cancel button. Default "Cancel".
className? string Extra classes for the sheet container.
Action Sheet — Confirmconfirm.tsx
action-sheet/variants/confirm.tsx open

iOS-style slide-up sheet with backdrop dismiss and safe-area padding.

Action Sheet — Shareshare.tsx
action-sheet/variants/share.tsx open

iOS-style slide-up sheet with backdrop dismiss and safe-area padding.