---
title: "Route animated icon"
description: "Route animated icon (Travel). A traveller follows the exact head of a growing journey path, carries speed through the bend, and holds at the destination."
canonical: https://generativeicons.com/icons/route/
---

# Route animated icon

A traveller follows the exact head of a growing journey path, carries speed through the bend, and holds at the destination.

- Id: `route`
- Category: Travel
- Search terms: path, journey, itinerary, trip planner, plan trip, waypoints, destination, a to b, road trip, travel path
- 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/route.lottie (dotLottie, 9942 bytes, sha256 33412ca103d17f21f71708325770a12837a9bb4dea08c2c28355e93a68f6c0db)
- License: MIT

## Install

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

## React

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

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