Hotkeys
DisplayKeyboard shortcut reference list grouped by section.
HotkeysDisplay · Web
Loading Storybook preview…
Installation
bun add @otfdashkit/ui
Usage
Import Hotkeys from @otfdashkit/ui.
Code
// Hotkeys — Keyboard shortcut reference list grouped by section.
//
// Install:
// bun add @otfdashkit/ui
import { Hotkeys } from '@otfdashkit/ui'
export function Example() {
return (
<Hotkeys>
{/* your content */}
</Hotkeys>
)
}Props
Props declared in the Hotkeys source. Inherited HTML attributes are not listed.
| Prop | Type | Default | Description |
|---|---|---|---|
| keysrequired | string[] | ||
| className | string |