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>
);
}








