OOratiq

Kbd

Ready

Keyboard key.

Press K to open the command palette, or Esc to close it.

Installation

$ npx @oratiq-js/ui add kbd

Copies the component and everything it depends on into your project, then lists the npm packages to install. The code is yours after this.

Usage

import
import { Kbd, KbdGroup } from "@/components/ui/kbd";

Keys and chords

EscKCtrlShiftP
Pinned to dir="ltr". A shortcut is technical notation — ⌘ + K must not become K + ⌘ in an Arabic or Hebrew interface.

View source on GitHub → components/ui/kbd.tsx