Components

Keyboard

Pro

A MacBook keyboard drawn in CSS with real key-unit geometry: light or dark caps, a perspective tilt that dissolves into the page, chosen keys lit in your accent color, and every physical key you press sinking and glowing on screen.

press any key

Installation

ProRequires a Planes Pro license.
npx shadcn add @useplanes/keyboard

Unlock with Planes Pro

$99 once · 80 Pro components · lifetime updates.

<Keyboard
  lit={["MetaLeft", "KeyK"]}
  accent="#4087f7"
  onKey={(code, down) => down && console.log(code)}
/>

Use cases

  • Shortcut teaching

    Light the keys of a shortcut on a docs or onboarding page instead of writing ⌘⇧P in text.

  • Keyboard-first product pages

    Show which keys your app listens for, the way Xenon lights its gesture keys.

  • Typing and shortcut trainers

    Turn listen on and let users see their own presses land on the board.

  • Hero backdrops

    A tilted, faded board behind a headline gives a hardware feel without a photo.