---
title: "Bus animated icon"
description: "Bus animated icon (Travel). The bus pulls up at your stop. Light: it rides up over a bump, then brakes: the body dives forward on its suspension with a hit while the tyres stay planted and compress, rebounds once and settles, and the headlamps blink as it stops. Strong: it rolls in over two bumps, brakes harder and rebounds twice, and the headlamps blink twice. The body is rigid; only the exposed tyres compress and extend."
canonical: https://generativeicons.com/icons/bus/
---

# Bus animated icon

The bus pulls up at your stop. Light: it rides up over a bump, then brakes: the body dives forward on its suspension with a hit while the tyres stay planted and compress, rebounds once and settles, and the headlamps blink as it stops. Strong: it rolls in over two bumps, brakes harder and rebounds twice, and the headlamps blink twice. The body is rigid; only the exposed tyres compress and extend.

- Id: `bus`
- Category: Travel
- Search terms: coach, shuttle, minibus, public transport, public transit, transit, school bus, city bus, commute, coach travel
- 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/bus.lottie (dotLottie, 4473 bytes, sha256 a944bfb817896201b64d70d7ba3ad6706a4b497454753c38ef68d086956c6ee3)
- License: MIT

## Install

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

## React

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

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