Skip to content

DropdownMenuShortcut ​

Overview ​

Displays a keyboard shortcut hint within a dropdown menu item.

Theme entry: DropdownMenuShortcut

Props ​

NameTypeRequiredDefaultDescription
themeOverrideObjectnullA partial ThemeObject keyed by component name, merged over this component's theme and provided to descendants.
classimport('vue').HTMLAttributes['class']undefinedAdditional CSS classes to apply to the root element.
keysstring|arrayundefinedStructured shortcut key labels. Prefer this over slot text so each physical key renders as a Kbd chip.

Slots ​

default ​

Slot.

Source ​

client/lib/navigation/dropdown-menu/DropdownMenuShortcut.vue