Skip to content

OverlayDropdown ​

A menu on the Popover API, with the keyboard of the menu pattern and typeahead.

ts
import { OverlayDropdown } from '@zairakai/vue-components/Overlay'

Usage ​

vue
<OverlayDropdown />

Example ​

vue
<template>
  <OverlayDropdown label="Actions">
    <template #trigger="{ attrs }">
      <button
        type="button"
        v-bind="attrs"
      >
        Actions
      </button>
    </template>
    <OverlayDropdownItem>Edit</OverlayDropdownItem>
    <OverlayDropdownItem>Duplicate</OverlayDropdownItem>
    <OverlayDropdownItem disabled>Delete</OverlayDropdownItem>
  </OverlayDropdown>
</template>

Props ​

NameTypeDefaultDescription
idstring
classstring
modelValuebooleanundefined
placementstring'bottom-start'
labelstring

Events ​

NameDescription
update:modelValue

Slots ​

NameDescription
trigger
default

See Theming for the class hooks and the data-* state of the components.

Documentation of 1.4.4 , built from 8e9b054 on 1.4.4 by pipeline #2989941079 on 2026-10-26.