CommandShortcut
Overview
Displays a keyboard shortcut hint aligned to the right of a CommandItem.
Theme entry: CommandShortcut
Props
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
| themeOverride | String|Object|Array | null | A partial theme object merged with the component's default theme; accepts a class string, class array, or theme object. | |
| class | import('vue').HTMLAttributes['class'] | undefined | Additional CSS classes to apply to the root element. | |
| keys | string|array | undefined | Structured 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