Skip to content

Dropdown Menu ​

Last updated

Demo ​

dropdown-menu/demo.vue

Last selected: (none)

Dropdown Menu uses Reka UI for positioning, arrow/Home/End/typeahead navigation and focus. Tokens define visuals.

Props ​

PropDescriptionTypeDefault
itemsMenu itemsreadonly MenuItem[]—
v-model:openOpen statebooleanfalse
portalToExisting overlay container within the themestring | HTMLElementConfigProvider / body

Class, data/ARIA attributes and events forward to menu content. portal-to targets an existing local theme container; otherwise ConfigProvider/body is retained. Arrows, Home/End, Enter and Escape navigate, select and close; disabled items are skipped.

FieldDescriptionType
labelLabelstring
valueSelected valuestring
disabledDisabledboolean?
separatorRender a separatorboolean?

Events ​

NameDescription
selectEmits the selected value

An empty string value can mean “All” or “Clear filter” and still emits select. Items without a value emit no selection.