Components

BaseHotkeyLegend

A row of keyboard shortcuts with what they do, for the footer of a palette or a search dialog.

components/ui/BaseHotkeyLegend.vue
View in the demo

Example

to move to open to close

AppCommandPalette and the docs search use it. Keys use the v-hotkey syntax, so Mac shows ⌘ and Windows shows Ctrl. Show a legend only where the shortcuts are part of the interaction; elsewhere put the shortcut in the control's BaseTooltip.

API

Props

Name
Type
Default
Description
itemsBaseHotkeyLegendItem[][]The shortcuts: keys in v-hotkey syntax and the label of what they do.
© 2026 melsami UI.
Developer documentation for melsami UI.