Ali Imam

Mac

Component 137

About

Mockup for iMac

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

Code

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

Usage.tsx

import { Mac } from "@/components/ui/mac";

export function MacDemo() {
  return (
    <div className="relative">
      <Mac
        src="https://cdn.21st.dev/assets/mirror/1b/1b587b189520d4a6406c8db1ce5911f82a7facabaabe9df364e6c371b5613df8.jpg"
        className="size-full"
      />
    </div>
  );
}

More by Ali Imam

View all
  • Liquid Glass Button

    Liquid Glass Button

    6.6K
  • Shader Animation

    Shader Animation

    3.7K
  • WebGL Shader

    WebGL Shader

    2.6K
  • Shader Lines

    Shader Lines

    2.3K
  • Shiny Button

    Shiny Button

    2.2K
  • GLSL Hills

    GLSL Hills

    2.1K
  • Canvas

    Canvas

    1.8K
  • Glowing Shadow

    Glowing Shadow

    1.5K