Use KeybindingHint to make keyboard shortcuts discoverable. Can render visual keybinding hints in condensed (abbreviated) form or expanded form, and provides accessible alternative text for screen reader users.
Chords are multiple keys that are pressed at the same time. Combine keys in a chord with +. Keys are automatically sorted into a standardized order so that modifiers come first.
Typical chords use Command on MacOS and Control on other devices. To automatically render Command or Control based on the user's operating system, use the special key name Mod.
Sequences are keys or chords that are pressed one after the other. Combine elements in a sequence with a space. For example, a b means "press a, then press b".
The default condensed format should be used on UI elements like buttons, menuitems, and inputs. In long-form text (prose), the full variant can be used instead to help the text flow better.
render(
<Text>
Press <KeybindingHintkeys="Mod+Enter"format="ful"/> to submit the form.