Skip to content

CommandShortcut ​

Overview ​

Displays a keyboard shortcut hint aligned to the right of a CommandItem.

Theme entry: CommandShortcut

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/controls/command/CommandShortcut.vue