Skip to content
Plays on its own
Interaction
Loop
Duration
4.00 s
Artboard
32 × 32 px
Lottie size
2.1 kB

Infinity

Plays continuously; stays on the static first frame when reduced motion is preferred. Free under the MIT license.

infinityloaderloadingloopspinner

React

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

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

shadcn/ui

npx shadcn@latest add https://useanimations.com/r/infinity.json
import { AnimatedInfinity } from '@/components/animations/infinity';

<AnimatedInfinity size={24} />

Files

https://useanimations.com/icons/infinity.json  # Lottie JSON
https://useanimations.com/icons/infinity.zip   # Lottie JSON + static SVGs

The animation as Lottie JSON and a ZIP with it and the SVGs. See Files & icons.json.

Static SVG

infinity.svg