---
title: "Laptop animated icon"
description: "Laptop animated icon (Tools). The laptop opens and wakes. Light: the rigid lid swings up from the hinge, overshoots its working angle a little and settles back, and a glint draws across the screen and fades as it comes on. Strong: the lid cracks open first, then swings up harder with a bigger overshoot and two settling swings before the glint. The base and hinge never move; the lid holds open."
canonical: https://generativeicons.com/icons/laptop/
---

# Laptop animated icon

The laptop opens and wakes. Light: the rigid lid swings up from the hinge, overshoots its working angle a little and settles back, and a glint draws across the screen and fades as it comes on. Strong: the lid cracks open first, then swings up harder with a bigger overshoot and two settling swings before the glint. The base and hinge never move; the lid holds open.

- Id: `laptop`
- Category: Tools
- Search terms: computer, macbook, notebook computer, portable computer, pc, chromebook, remote work, work from home
- Two states: prepared to result, played forward and back
- Styles: outline, solid, duotone; outline weights 1.5, 2, 2.5 (any from 1 to 3); motion light or strong
- File: https://generativeicons.com/assets/laptop.lottie (dotLottie, 6904 bytes, sha256 3baae06c2d35697ae21acec26d610b547498692f975abafa62b98fdf47a35d20)
- License: MIT

## Install

```sh
npm install @lottiefiles/generative-icons-runtime
npx generative-icons init
npx generative-icons add laptop
```

## React

```tsx
// npm install @lottiefiles/generative-icons-react
'use client';
import { AnimatedIcon } from '@lottiefiles/generative-icons-react';
import icon, { src } from './generative-icons/laptop.mjs';

export function LaptopIcon() {
  return <AnimatedIcon icon={icon} src={src} size={32}
    color="#ffffff" variant="outline" weight={2}
    motion="light" theme="dark" />;
}
```

## JavaScript

```js
import { createIcon } from '@lottiefiles/generative-icons-runtime';
import icon, { src } from './generative-icons/laptop.mjs';

const handle = await createIcon(canvas, {
  icon, src,
  color: '#ffffff', style: 'outline', weight: 2,
  motion: 'light', theme: 'dark'
});
button.addEventListener('click', () => handle.play());
// On removal: handle.destroy();
```

More: https://generativeicons.com/icons/laptop/ · https://generativeicons.com/api/icons/laptop
