---
title: "Toll gate animated icon"
description: "Toll gate animated icon (Maps & navigation). Light: the barrier arm rises 55° about its hinge. Strong: it dips, swings up past the open position and settles; reverse lowers it, and Strong drops it onto the stop with one rebound."
canonical: https://generativeicons.com/icons/toll-gate/
---

# Toll gate animated icon

Light: the barrier arm rises 55° about its hinge. Strong: it dips, swings up past the open position and settles; reverse lowers it, and Strong drops it onto the stop with one rebound.

- Id: `toll-gate`
- Category: Maps & navigation
- Search terms: toll booth, toll road, toll plaza, turnpike, boom barrier, barrier arm, road charge, highway fee, entry barrier, parking barrier
- 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/toll-gate.lottie (dotLottie, 6089 bytes, sha256 a8538b577376016c79c411ca8d5ffc9168aca6379f4b71a32fec1cb2b476c698)
- License: MIT

## Install

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

## React

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

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