Luke UI
GitHub repository

Kbd

Represents keyboard input or a hotkey.

Kbd marks keyboard input, such as a shortcut or a key name. It renders a native kbd element, which conveys keyboard-input semantics to assistive technology, and uses the theme's fixed code font.

Kbd — Basic
Press Shift + Tab to move to the previous control.

API

KbdProps also accepts compatible DOM and ARIA attributes and event handlers for its rendered element.

On this page