Learn how to integrate Lottie animations into your HTML page effortlessly.
<script src="https://cdnjs.cloudflare.com/ajax/libs/lottie-web/5.9.6/lottie.min.js"></script>
<div id="lottie-container" style="width: 300px; height: 300px;"></div>
<script> var animation = lottie.loadAnimation({ container: document.getElementById('lottie-container'), renderer: 'svg', loop: true, autoplay: true, path: 'animation.json' // Replace with your animation file path }); </script>
animation.pause(); // Pause animation.play(); // Play animation.stop(); // Stop
Find free animations at Unicornicons.