---
title: "Electric car animated icon"
description: "Electric car animated icon (Automotive). Light: the lightning bolt on the door swells 15% and eases back. Strong: it pops to 120% with a snap while the car dips 0.7 units on its suspension and settles."
canonical: https://generativeicons.com/icons/electric-car/
---

# Electric car animated icon

Light: the lightning bolt on the door swells 15% and eases back. Strong: it pops to 120% with a snap while the car dips 0.7 units on its suspension and settles.

- Id: `electric-car`
- Category: Automotive
- Search terms: ev, electric vehicle, e-car, hybrid, plug-in hybrid, zero emission, eco car, green car, battery electric, bev, e-mobility, emobility
- One action, back to rest
- 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/electric-car.lottie (dotLottie, 24986 bytes, sha256 f4fb7d35c9560a23e6ac144e5ee6c566c1e9a2faee8771b357003f02de71af09)
- License: MIT

## Install

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

## React

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

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