Skip to content

ContextMenuShortcut ​

Overview ​

Displays a keyboard shortcut hint within a context menu item.

Theme entry: ContextMenuShortcut

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/context-menu/ContextMenuShortcut.vue