infiniteLoop.

badge

Easily make and manage React animation loops

Dynamic looping of image animations in React. Define an animaton with urls or paths, specify a duration, and the animation will repeat for that infinite iterations. You can not change the number of iterations programmatically.

Installation

npm i infinite-loop-animation

Sample usage

Properties

data

An array of images

background

Background image path or url

duration

Time between each frame in milliseconds

size

Recommended values between 25 and 250

Source

Hire Me