NexusUI

Mac Keyboard

Component 38

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

    1K
  • Chat Messages

    Chat Messages

    374
  • Infinite Moving Cards

    Infinite Moving Cards

    188
  • Cinematic Logo Cloud

    Cinematic Logo Cloud

    179
  • Aquarium Prompt

    Aquarium Prompt

    168
  • Shooting Stars Grid

    Shooting Stars Grid

    162
  • Pixel Atlas

    Pixel Atlas

    133