Kbd

Show keyboard keys and shortcut combinations.

Usage

Ctrl / ⌘B

Composition

Import the shared component directly. Interactive examples that need callbacks belong in a small client component; keep the MDX article on the server.

apps/site/src/shortcuts.ts defines the bindings. SiteShortcuts and this example read that same file.

Last updated