- Get JSON format of animation
- Add Bodymovin library to the HTML page
- Load the animation
- Set the animation trigger
It is using in script tag.
<script src=”https://unpkg.com/@lottiefiles/lottie-player@latest/dist/lottie-player.js”></script>
It is using in script tag.
<script src=”https://unpkg.com/@lottiefiles/lottie-player@latest/dist/lottie-player.js”></script>