About
An isometric laptop drawing whose lid opens and closes on a spring as you move the pointer up and down over it.
Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Laptop to your project and fits it to your theme.
Code
How Laptop is used: the demo's code. The component's own source comes with a free account.
Usage.tsx
"use client";
import { Laptop } from "@/components/ui/laptop";
export default function LaptopDemo() {
return (
<div className="w-full h-screen bg-background">
<Laptop
style={{ width: "100%", height: "100%", aspectRatio: "auto" }}
/>
</div>
);
}








