v0.1 public beta early access on GitHub
Home / Components / dropdown-menu

Dropdown MenuAndroid

Anchored menu list with staggered item entrance.

$ npx lumioui add dropdown-menu
import { DropdownMenu } from "@/components/ui/dropdown-menu/dropdown-menu";
Props14
DropdownMenu
children React.ReactNode
open? boolean Controlled open state.
defaultOpen? boolean Uncontrolled initial state.
onOpenChange? (open: boolean) => void
DropdownMenuTrigger
children React.ReactNode
className? string
DropdownMenuContent
className? string
align? "start" | "end" Horizontal alignment relative to the trigger. Default "start".
sideOffset? number Extra vertical offset below the trigger. Default 4.
DropdownMenuItem
children React.ReactNode Item label.
icon? React.ReactNode Optional icon rendered before the label.
destructive? boolean Render in destructive style.
className? string Extra classes for the row.
DropdownMenuSeparator
className? string
Dropdown Menuthread.tsx
dropdown-menu/variants/thread.tsx open

Anchored menu list with staggered item entrance.