| alignment | - | string, Alignments |
Set alignment of the dropdown menu. A responsive object aligns the menu per breakpoint and keeps dynamic positioning; placement wins over it. |
| autoClose | true | boolean, 'inside', 'outside' |
Configure the auto close behavior of the dropdown: - true - the dropdown will be closed by clicking outside or inside the dropdown menu. - false - the dropdown will be closed by clicking the toggle button and manually calling hide or toggle method. (Also will not be closed by pressing esc key) - 'inside' - the dropdown will be closed (only) by clicking inside the dropdown menu. - 'outside' - the dropdown will be closed (only) by clicking outside the dropdown menu. |
| container5.0.0+ | 'body' | HTMLElement, (() => HTMLElement), string |
Appends the vue dropdown menu to a specific element. You can pass an HTML element or function that returns a single element. By default document.body. Inside a modal dialog it goes into the dialog instead, because the rest of the page is inert. |
| dark | - | boolean |
Sets a darker color scheme to match a dark navbar. |
| direction | - | string |
Sets a specified direction and location of the dropdown menu. |
| floatingConfig5.10.0+ | undefined | Partial<ComputePositionConfig>, ((
defaultFloatingConfig: Partial<ComputePositionConfig>
) => Partial<ComputePositionConfig>) |
A Floating UI configuration object, or a function that receives the default configuration and returns a modified one, used to customize the positioning of the dropdown menu. [Read more](https://floating-ui.com/docs/computePosition#options) |
| offset4.9.0+ | [0, 2] | array |
Offset of the dropdown menu relative to its target. |
| placement | undefined | string |
Where the menu opens. Logical placements ('start', 'end') resolve to the side the writing direction puts them on, and -start/-end are already logical. Breakpoint prefixes make it responsive — 'bottom-start md:top-end' reads as bottom-start below md and top-end from md up. An explicit placement wins over direction and alignment; left unset, the placement follows those two props. |
| popper | true | boolean |
Enables or disables dynamic positioning. When disabled, the menu is rendered statically and carries data-coreui-popper="static". |
| reference5.7.0+ | 'toggle' | 'parent', 'toggle', HTMLElement, Ref<HTMLElement, null> |
Sets the reference element for positioning the Vue Dropdown Menu. - toggle - The Vue Dropdown Toggle button (default). - parent - The Vue Dropdown wrapper element. - HTMLElement - A custom HTML element. - Ref - A custom reference element. |
| show6.0.0+ | undefined | boolean |
Control the open state. When set, the dropdown renders what show says and dismiss gestures only emit update:show — nothing closes until the parent flips the prop. Supports the v-model:show binding. |
| teleport5.0.0+ | false | boolean |
Generates dropdown menu using Teleport. |
| variant | 'dropdown' | string |
Set the dropdown variant to an btn-group, dropdown, input-group, and nav-item. |
| visibleDeprecated 6.0.0 | undefined | boolean |
Toggle the visibility of dropdown menu component. Use show / v-model:show instead — visible is ignored when show is set. |