unlumen

Unlumen Kbd

Component

About

Keyboard key and shortcut components from Unlumen UI.

Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Unlumen Kbd to your project and fits it to your theme.

Code

How Unlumen Kbd is used: the demo's code. The component's own source comes with a free account.

Usage.tsx

import { Kbd, Shortcut } from "@/components/ui/unlumen-kbd";

export default function Demo() {
  return (
    <div className="flex flex-col items-center justify-center gap-6 p-8">
      <div className="flex flex-wrap items-center justify-center gap-2">
        {["⌘", "⌥", "⇧", "⌃", "⏎", "⌫", "⇥", "Esc"].map((key) => (
          <Kbd key={key}>{key}</Kbd>
        ))}
      </div>
      <div className="flex flex-col gap-3 text-sm text-muted-foreground">
        <div className="flex items-center justify-between gap-8">
          <span>Save file</span>
          <Shortcut keys={["⌘", "S"]} />
        </div>
        <div className="flex items-center justify-between gap-8">
          <span>Open command menu</span>
          <Shortcut keys={["⌘", "K"]} />
        </div>
        <div className="flex items-center justify-between gap-8">
          <span>Undo</span>
          <Shortcut keys={["⌘", "Z"]} />
        </div>
        <div className="flex items-center justify-between gap-8">
          <span>Find & replace</span>
          <Shortcut keys={["⌘", "⇧", "H"]} />
        </div>
      </div>
    </div>
  );
}

More by unlumen

View all
  • Motion Navigation Menu

    Motion Navigation Menu

    271
  • Side By Side Slide

    Side By Side Slide

    228
  • Scroll Reveal Image

    Scroll Reveal Image

    222
  • Count Up

    Count Up

    145
  • Pixel Liquid Background

    Pixel Liquid Background

    106
  • Glow Button

    Glow Button

    97
  • Animated Sidebar

    Animated Sidebar

    95
  • Horizontal Depth Fade

    Horizontal Depth Fade

    78