NexusUI

Mac Keyboard

Component 1

About

A full Mac keyboard with soft keycaps that press down as you type. Works with your real keyboard and with taps, and the typed text shows in the bar above. Part of Nexus UI: nexus-ui.com/components/mac-keyboard

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

Code

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

Usage.tsx

import { MacKeyboard } from "@/components/ui/mac-keyboard";

export default function Demo() {
  return (
    <div className="flex min-h-screen w-full items-center justify-center p-6">
      <div className="w-full max-w-3xl"><MacKeyboard /></div>
    </div>
  );
}

Dependencies

More by NexusUI

View all
  • Circular Carousel

    Circular Carousel

    1.3K
  • Images Badge

    Images Badge

    991
  • Chat Messages

    Chat Messages

    339
  • Cinematic Logo Cloud

    Cinematic Logo Cloud

    164
  • Infinite Moving Cards

    Infinite Moving Cards

    162
  • Shooting Stars Grid

    Shooting Stars Grid

    159
  • Logo Clouds

    Logo Clouds

    113
  • Image Trail

    Image Trail

    94