---
title: "Align objects animated icon"
description: "Align objects animated icon (Drawing & design tools). Light: three ragged blocks slide left in turn until their edges sit on the guide, 0.44 s each. Strong: each block pulls back, whips to the guide with a stop and settles. Reverse scatters them to their ragged positions."
canonical: https://generativeicons.lottiefiles.com/icons/align-objects/
---

# Align objects animated icon

Light: three ragged blocks slide left in turn until their edges sit on the guide, 0.44 s each. Strong: each block pulls back, whips to the guide with a stop and settles. Reverse scatters them to their ragged positions.

- Id: `align-objects`
- Category: Drawing & design tools
- Search terms: align left, left align, alignment, distribute, line up, arrange, align layers, align shapes, align elements, tidy up
- Two states: ragged to aligned, 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.lottiefiles.com/assets/align-objects.lottie (dotLottie, 9085 bytes, sha256 b1a543cd2793e52590af7b5458552fee34d0883ec5acba0370b1923c0e498377)
- License: MIT

## Install

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

## React

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

export function AlignObjectsIcon() {
  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/align-objects.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.lottiefiles.com/icons/align-objects/ · https://generativeicons.lottiefiles.com/api/icons/align-objects
