Lucas

Laptop

Component 35

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

More by Lucas

View all
  • Hairline Riffle

    Hairline Riffle

    176
  • Basket Figure

    Basket Figure

    82
  • Hairline Terrain

    Hairline Terrain

    79
  • Lockers

    Lockers

    75
  • Padlock

    Padlock

    65
  • Hairline Terminal

    Hairline Terminal

    64
  • Hairline Slow

    Hairline Slow

    63
  • Hairline Drawer

    Hairline Drawer

    56