Skip to content
Click to replay
Interaction
Click replay
Category
Text editing
Duration
1.33 s
Frame rate
30 fps
Artboard
32 × 32 px
Lottie size
4.3 kB

Align Left

Animated align left icon

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.

Free under the MIT license · Markdown version · About the files

Use it

npm install react-useanimations
import UseAnimations from 'react-useanimations';
import alignLeft from 'react-useanimations/lib/alignLeft';

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

Static SVG

Align Left icon, align-left state
align-left.svg

Questions about the Align Left icon

›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.