Command Palette Row

Raycast-style action row with leading icon, description, and a trailing shortcut combo.

Go to fileJump to any file in the workspace
P

Requires shadcn/ui initialized. Run npx shadcn@latest init if you haven't.

Import & use
import { Keyboard2 } from "@/components/beste/piece/keyboard2";

<Keyboard2
  action="Go to file"
  hint="Jump to any file in the workspace"
  keys={[
    "⌘",
    "P"
  ]}
/>

More Keyboard pieces

View all Keyboard
Keyboard shortcuts
Open search
K
New file
N
Toggle sidebar
B
Switch workspace
O

Titled panel listing several actions with their key combos stacked on the right.

F1Help
F2Rename
F3Find next
F4Close
F5Reload

Function Row

keyboard10

Horizontal strip of F-keys, each annotated with the action it triggers.

Press space to continue
Space
or click anywhere

Spacebar

keyboard14

Long-format spacebar keycap with a soft shadow, bracketed by a prompt above and a hint caption below.

BA
Unlock the secret

Key Sequence

keyboard13

Row of small tactile keycaps laid out in order, great for Konami-style cheat codes or macro combos.

G
Leader
P
Go to project
Press in sequence

Vim-style multi-step combo showing keys separated by arrows with per-step labels.

WASD
Move

WASD Cluster

keyboard15

Gaming movement cluster with W on top and A S D on the second row, lighting the active key in primary.