# Align Left animated icon

> Free Align Left animated icon that replays on every click. MIT-licensed for React, shadcn/ui, Lottie JSON and SVG.

Use the Align Left icon for text alignment controls in design tools: it replays on every click and takes 1.33 s. Click icons typically confirm send, save, refresh, download, add-to-cart and formatting buttons.

## Facts

- Interaction: [Click replay](https://useanimations.com/interactions/click-replay). Replays once from the start on every click unless reduced motion is preferred.
- Category: [Text editing](https://useanimations.com/categories/text-editing)
- Duration: 1.33 s at 30 fps
- Artboard: 32 × 32 px
- Lottie size: 4.3 kB
- License: MIT, attribution optional ([Licencing & Terms](https://useanimations.com/licencing-and-terms))

## Files

- Lottie JSON: https://useanimations.com/icons/align-left.json
- Static SVG (align-left): https://useanimations.com/icons/align-left/align-left.svg
- ZIP (Lottie JSON and SVGs): https://useanimations.com/icons/align-left.zip
- shadcn registry item: https://useanimations.com/r/align-left.json
- Web page: https://useanimations.com/icons/align-left

## React

```bash
npm install react-useanimations
```

```jsx
import UseAnimations from 'react-useanimations';
import alignLeft from 'react-useanimations/lib/alignLeft';

<UseAnimations animation={alignLeft} size={32} />
```

## shadcn/ui

```bash
npx shadcn@latest add https://useanimations.com/r/align-left.json
```

```tsx
import { AnimatedAlignLeft } from '@/components/animations/align-left';

<AnimatedAlignLeft size={24} />
```

## HTML and lottie-web

```html
<div id="align-left-icon" style="width: 48px; height: 48px"></div>

<script src="https://cdn.jsdelivr.net/npm/lottie-web@5.13.0/build/player/lottie_light.min.js"></script>
<script>
  const el = document.getElementById('align-left-icon');
  const a = lottie.loadAnimation({ container: el, renderer: 'svg', loop: false, autoplay: false, path: 'https://useanimations.com/icons/align-left.json' });
  const motion = matchMedia('(prefers-reduced-motion: reduce)');
  el.addEventListener('click', () => { if (!motion.matches) a.playSegments([0, a.totalFrames], true); });
</script>
```

## FAQ

### What happens if Align Left is clicked again before it finishes?

No queue: every click restarts the 1.33 s run from the first frame. With reduced motion preferred, clicks still reach your onClick but the icon stays still.

### How do I make Align Left an accessible button?

Put its events on a real button with the render prop: render={(events, icon) => <button aria-label="Align Left" {...events}><span {...icon} /></button>}. The animation itself stays aria-hidden.

### Can Align Left play on hover instead?

Yes: pass interaction="hover-replay". It then plays once on mouseenter unless reduced motion is preferred. Leaving does not stop it; entering during playback does not restart it.

## Related icons

- [Align Center](https://useanimations.com/icons/align-center) (click-replay)
- [Align Justify](https://useanimations.com/icons/align-justify) (click-replay)
- [Align Right](https://useanimations.com/icons/align-right) (click-replay)
- [Arrow Down Left](https://useanimations.com/icons/arrow-down-left) (hover-replay)
- [Arrow Left](https://useanimations.com/icons/arrow-left) (hover-replay)
- [Arrow left circle](https://useanimations.com/icons/arrow-left-circle) (click-replay)
- [Arrow Up Left](https://useanimations.com/icons/arrow-up-left) (hover-replay)
- [Chevrons Left](https://useanimations.com/icons/chevrons-left) (hover-replay)
- [Corner Down Left](https://useanimations.com/icons/corner-down-left) (hover-replay)
- [Corner Left Down](https://useanimations.com/icons/corner-left-down) (hover-replay)
- [Corner Left Up](https://useanimations.com/icons/corner-left-up) (hover-replay)
- [Corner Up Left](https://useanimations.com/icons/corner-up-left) (hover-replay)

[All text editing icons](https://useanimations.com/categories/text-editing) · [All icons](https://useanimations.com/icons)
