Components

BaseMenuButton

A button that opens a menu of options, with a chevron that follows the open state.

components/ui/BaseMenuButton.vue
View in the demo

Example

Pick an option to see its action run.

Options

Each option is a BaseMenuOption:

Field
Type
Description
titlestringThe label.
iconstringA Lucide icon before the label.
action() => voidRuns when the option is picked.
routestringNavigates instead of running an action.
colorstringA theme colour, such as error for destructive options.
disabledbooleanShows the option but blocks it.
typedivider | subheaderRenders a separator or a small heading instead of an option.
dotColor, imageUrlstringA coloured dot or an image before the label.

API

It also accepts every prop, slot and event of v-btn, which it passes through.

Props

Name
Type
Default
Description
optionsBaseMenuOption[]—The options of the menu.
offsetBaseMenuOffset—Distance between the button and the menu, in pixels.

Every other attribute, such as button-type, goes to the BaseButton, and its slots are passed through too.

© 2026 melsami UI.
Developer documentation for melsami UI.