Lucas

Laptop

Component 29

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

    134
  • Hairline Terrain

    Hairline Terrain

    61
  • Padlock

    Padlock

    53
  • Hairline Terminal

    Hairline Terminal

    48
  • Isometric Elevator

    Isometric Elevator

    45
  • Hairline Slow

    Hairline Slow

    44
  • Hairline Turntable

    Hairline Turntable

    40
  • Hairline Sieve

    Hairline Sieve

    34