Dropdown Menu
Displays a menu to the user—such as a set of actions or functions—triggered by a button.
Basic Usage
Create a dropdown by wrapping a trigger element and using DropdownItem elements inside the default slot. Alignment is configurable.
MayaDropdownMenu API
| Prop / Event | Type | Default | Description |
|---|---|---|---|
align | String | "down-left" | Alignment of the dropdown relative to the trigger ("down-left", "down-right", "up-left", "up-right"). |
#trigger | Slot | — | Slot for the button/element that toggles the dropdown. |
#default | Slot | — | Slot for the dropdown items and separators. |