Components / Dropdown menu

Basic Usage

Create a dropdown by wrapping a trigger element and using DropdownItem elements inside the default slot. Alignment is configurable.

MayaDropdownMenu API

Prop / EventTypeDefaultDescription
alignString"down-left"Alignment of the dropdown relative to the trigger ("down-left", "down-right", "up-left", "up-right").
#triggerSlotSlot for the button/element that toggles the dropdown.
#defaultSlotSlot for the dropdown items and separators.