An easy to use, seamless and fully declarative control Lottie player for React.
# NPM
$ npm i react-lottie-player --saveimport React, { Component } from 'react'
import Lottie from 'react-lottie-player'
import lottieJson from './lottie.json'
class Example extends Component {
render() {
return (
<Lottie
loop
animationData={lottieJson}
play
style={{ width: 250, height: 250 }}
/>
)
}
}
Author: mifi
Live Demo: View The Demo
Download Link: Download The Source Code
Official Website: https://github.com/mifi/react-lottie-player
License: MIT