How to use Lottie files

  • Updated

You can use Lottie files with Umso for efficient Animations. To do this, you will need to use a small amount of code since this is not currently possible through our UI. 


Uploading your Lottie Data

Upload your lottie data.json file to one of your File Libraries. Then map the file to your website through the "File" settings in your site dashboard. 


Rendering your Lottie Animation

To render your animation on your website, add a custom code section. In this custom code section, you need to load the lottie player, and configure your animation.


<div id="bm"></div>
<script src="" type="text/javascript"></script>
var animation = bodymovin.loadAnimation({
container: document.getElementById('bm'),
renderer: 'svg',
loop: true,
autoplay: true,
path: '/data.json'


Viewing your Animation

Your animation may not display inside the editor preview. To view your animation, publish your site and visit your published site.

Was this article helpful?