---
title: "Car window animated icon"
description: "Car window animated icon (Automotive). The window rolls down. Light: the glass runs down 5 units inside the window, lands on its bottom stop with a hit, rebounds almost a unit and seats. Strong: one-touch express down: the glass breaks free of the top seal with a short jerk, drops fast onto its stop, and bounces twice before it seats. The reverse runs the glass up into the top seal with a hit and a small rebound. The door, window frame and handle never move; the glass holds open."
canonical: https://generativeicons.com/icons/car-window/
---

# Car window animated icon

The window rolls down. Light: the glass runs down 5 units inside the window, lands on its bottom stop with a hit, rebounds almost a unit and seats. Strong: one-touch express down: the glass breaks free of the top seal with a short jerk, drops fast onto its stop, and bounces twice before it seats. The reverse runs the glass up into the top seal with a hit and a small rebound. The door, window frame and handle never move; the glass holds open.

- Id: `car-window`
- Category: Automotive
- Search terms: power window, electric window, roll down, roll down window, roll up, window down, window up, side window, car glass, window switch, open window
- Two states: closed to open, 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/car-window.lottie (dotLottie, 7570 bytes, sha256 a770186e68887ffd47687239905bbdfa46292434b499d1b464ee1ff747907913)
- License: MIT

## Install

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

## React

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

export function CarWindowIcon() {
  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/car-window.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/car-window/ · https://generativeicons.com/api/icons/car-window
