About
An animated SVG laptop illustration whose lid opens and closes on a true solved hinge, with four camera angles and swappable screen content, for devices/tech showcase sections.
Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Clamshell Laptop to your project and fits it to your theme.
Code
How Clamshell Laptop is used: the demo's code. The component's own source comes with a free account.
Usage.tsx
import ClamshellLaptop from "@/components/ui/clamshell-laptop";
export default function ClamshellLaptopDemo() {
return (
<div className="flex min-h-[400px] w-full items-center justify-center bg-background p-10">
<ClamshellLaptop screen="code" view="iso" />
</div>
);
}








