lucasmarkes

Laptop

Component 27

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 lucasmarkes

View all
  • Hairline Riffle

    Hairline Riffle

    127
  • Hairline Terrain

    Hairline Terrain

    60
  • Padlock

    Padlock

    51
  • Hairline Terminal

    Hairline Terminal

    47
  • Isometric Elevator

    Isometric Elevator

    44
  • Hairline Slow

    Hairline Slow

    44
  • Hairline Turntable

    Hairline Turntable

    38
  • Hairline Sieve

    Hairline Sieve

    32