KbdGroup
Display a multi-key shortcut with shared styling.
Use KbdGroup to display keys pressed together, such as Ctrl + K. It renders notation only; the application owns the shortcut listener.
Basic usage#
Playground#
Quick save:Ctrl+⇧+S
Props
Slots
Anatomy#
Separator content is inline and is not a theme slot.
Usage#
The separator accepts string or number shorthand for inline shortcut notation such as "+". For custom JSX, pass a renderer that receives the separator index; each position mounts its own instance. It is unrelated to the standalone layout Separator.
Key labels#
Use known key aliases for symbol notation, or supply item labels when the displayed shortcut needs platform-specific wording. Shortcut registration remains application-owned.
Props#
Props for the KbdGroup component. Renders a <kbd> element by default.
Prop