Modifier Cluster

macOS modifier symbols laid out side by side with their names printed below.

Modifier keys
Command
Option
Shift
Control

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

Import & use
import { Keyboard8 } from "@/components/beste/piece/keyboard8";

<Keyboard8
  heading="Modifier keys"
  modifiers={[
    {
      "symbol": "⌘",
      "name": "Command"
    },
    {
      "symbol": "⌥",
      "name": "Option"
    },
    {
      "symbol": "⇧",
      "name": "Shift"
    },
    {
      "symbol": "⌃",
      "name": "Control"
    }
  ]}
/>

More Keyboard pieces

View all Keyboard
Navigate

Arrow Cluster

keyboard6

Four-way directional pad with a pressed state that highlights one key at a time.

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.

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.

G
Leader
P
Go to project
Press in sequence

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

Quick search
K

Raised kbd keys joined with a plus separator. Any combo works.

Space
Press to continue

Lit-up key with a pinging halo behind it and a caption beneath to cue the user.