---
title: "Line spacing animated icon"
description: "Line spacing animated icon (Text & document editing). The line spacing opens up, driven by the double arrow. Light: the arrow stretches, its heads pushing out 2.2 and stopping dead, and 60 ms later the outer rows are pushed apart from the middle row the same distance; the spread rebounds a touch, then everything closes back quicker with a small settle. Strong: the arrow and rows squeeze in first, then the arrow throws its heads out 3.2 and the rows follow to a hit, rebound twice and close back with a settle. The middle row never moves."
canonical: https://generativeicons.com/icons/line-spacing/
---

# Line spacing animated icon

The line spacing opens up, driven by the double arrow. Light: the arrow stretches, its heads pushing out 2.2 and stopping dead, and 60 ms later the outer rows are pushed apart from the middle row the same distance; the spread rebounds a touch, then everything closes back quicker with a small settle. Strong: the arrow and rows squeeze in first, then the arrow throws its heads out 3.2 and the rows follow to a hit, rebound twice and close back with a settle. The middle row never moves.

- Id: `line-spacing`
- Category: Text & document editing
- Search terms: line height, leading, paragraph spacing, double spacing, single spacing, line gap, vertical spacing, space between lines
- 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/line-spacing.lottie (dotLottie, 3983 bytes, sha256 d9d5e5ccf864e7ed26c6399800fcdc83769375a1456807fe0944164686168e85)
- License: MIT

## Install

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

## React

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

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