import { DropdownMenu } from "@nodus/design-system"Props
| Prop | Type | Default | Description |
|---|---|---|---|
triggerreq | ReactNode | — | Element that opens the menu |
itemsreq | DropdownMenuItem[] | — | Menu items with label, onClick, disabled, destructive |
align | "start" | "end" | "start" | Menu alignment relative to trigger |
triggerrequiredType
ReactNodeDefault —Element that opens the menu
itemsrequiredType
DropdownMenuItem[]Default —Menu items with label, onClick, disabled, destructive
alignType
"start" | "end"Default "start"Menu alignment relative to trigger
MobileTouch Target
Menu items must be ≥44px tall. On mobile, consider a bottom sheet pattern instead of a floating menu for primary navigation actions.
Design Rationale
This component was designed to express:
Explore Related
Was this helpful?