---
title: "Horizontal arrows animated icon"
description: "Horizontal arrows animated icon (Arrows). It extends both ways. Light: the two halves launch outward from the middle, each along its own head, and fade before the edges; a fresh pair grows back out of the middle, lands just past rest and settles. Strong: they pull in first, then launch farther while a fading shaft keeps them joined, so the arrow stretches before it goes, and the fresh pair lands with a bigger overshoot and settles in two beats. v1's single shaft is split at the middle so each half travels with its head; at rest it draws the same."
canonical: https://generativeicons.com/icons/arrows-horizontal/
---

# Horizontal arrows animated icon

It extends both ways. Light: the two halves launch outward from the middle, each along its own head, and fade before the edges; a fresh pair grows back out of the middle, lands just past rest and settles. Strong: they pull in first, then launch farther while a fading shaft keeps them joined, so the arrow stretches before it goes, and the fresh pair lands with a bigger overshoot and settles in two beats. v1's single shaft is split at the middle so each half travels with its head; at rest it draws the same.

- Id: `arrows-horizontal`
- Category: Arrows
- Search terms: left right, left and right, double arrow, bidirectional, two way, resize horizontal, width, widen, east west
- 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/arrows-horizontal.lottie (dotLottie, 3286 bytes, sha256 f87e4d9f79482caac5d354eb80edf2e4cc30f826c8b4a4d1633cd9ae035f3351)
- License: MIT

## Install

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

## React

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

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