You too are a fan of these small animations cute, sometimes found on websites or mobile apps? It's called a Lottie. If you don't know, you're in the right place, because this article will explain you why and how to add Lottie in Divi.
1 - What is Lottie?
One Lottie, or Lottie File or Lottie Animation is a very light file JSON format which allows to animate icons, logos or images within your site or application. These small animations allow to brighten your layout, improve the commitment of your users and increase the conversion rate.
A Lottie is a recent format that was created at the base by Airbnb, to improve interactions in its mobile application. Then a native library was created so that the Lotties the web.
Today, thanks to plugins or some code, you can easily integrate Lottie into WordPress but also in Divi !
Did you know that? You can test Divi for free by visiting on this page and by clicking on "TRY IT FOR FREE"
2 Where to find them, how to create them?
So, create your own Lottie is not given to everyone. You will need to be in possession of various software including Adobe After Effects. You will have to install the AE BodyMovin plugin, create your images with Sketch, etc. So it's not that simple!
But I have good news. There is a partially free library where you will find hundreds of Lotties All ready, this is the site Lottie Files :

Simply create a free account to access all download files. See you in the category Free Lotteries to start making your deal.
Need to master Divi? Discover my training that accompanies you step by step in the understanding and use of Divi! Learn more about Divi training.
3 - Plugins to insert a Lottie with Divi
Once you have found your happiness in the bookshop of the Lotties, you can easily embark them on your Divi site using dedicated plugins.
3.1. - Using Divi Supreme
I've already introduced this plugin for Divi, to remind you, here is a small video (at 7'24, you will discover my Lottie test):
Divi Supreme is a freemium extension (a free part, a paid part) that brings +49 new modules within the Divi Visual Builder.

This extension enriches your experience with Visual Builder and the good news is that a "Lottie" module is available.
So you can insert any animated image from the Lottie Files library In less time than it took me to write it.
Note however that you will need the Pro version of the plugin to benefit from this module.
3.2. - Using BrainAddons for Divi Builder
Alternative: BrainAddons for Divi Builder.

It is also a matter of freemium plugin for Divi, composed of 20 free modules + 20 paid modules. And you know, the Lottie module is proposed in the pro (pay) version of the plugin. Just like Divi Supreme.
4 - How to insert a Lottie with Divi for free and without plugin?
If you plan to use this type of animation regularly, I advise you to invest in one of the 2 plugins mentioned above, because they have the advantage of offering a wide range of additional modules for Divi and you will have the opportunity to amortize your investment. In addition, these modules allow you to define the behavior of the inserted Lottie: animation at click, scroll, hover, loop, duration, etc.
On the other hand, if you are thinking of using the Lotties on your site on time, you should find another solution, free of charge...
Easy! Official website Lottie Files makes it easy to embark animations within the Divi Builder.

Then visit the site Lottie Files and select the Lottie of your choice, click on it. I chose these cute little birds...
A window opens and offers you several options to embark this animation on your site. We will focus on 2 options:
- Option A: Embed Code (iFrame code)
- Option B: HTML code
Option A: with iFrame code
If you choose this first option, it's very simple:

- Copy the iFrame code
- Within your Divi layout, insert a Code module
- Paste the iFrame code in the dedicated field
- You will see the Lottie in your layout. The only concern is that it is possible that it may be cropped (cut).
If this is your case, it is possible that option B is more suitable...
Option B: with Script + HTML
This second option is no more complicated and has the advantage of being able to define some parameters such as size, height, loop, autoplay, etc.

- Click the HTML button to get the code
- Set the settings you need, for example, change the size of the Lottie
- Copy the generated code below the Lottie preview
- Back in your Divi layout, add a Code module where you want to see the Lottie appear

- Once the Code module has been validated, nothing may appear. Don't worry...
- Leave the Visual Builder.
- Once released from the Visual Builder, you will see the Lottie appear!
- The only hit is that the Lottie reader is also visible.
Unfortunately I have tried everything ("display none" in CSS) but nothing does there, this drive cannot (a priori) be deleted. So, free sometimes has its limits...
Need more resources for Divi? Discover the other articles in this section!
5 - Some ideas from Lottes for your layouts with Divi
As I walked through the library of Lottes, I had some ideas...
👉 Customize your 404 error page:
You will find all the 404 Error Lotteries Here.
Customize your search page:
Use this tutorial to create a search page and insert an appropriate Lottie. You will find all the Lotteries in the research category here.
Customize your shopping cart page:
Follow this tutorial to customize your cart page and add one of the Lotteries in the Shop category :
And it's not over! You can insert Lotteries where you like! Enjoy it, it's very light and it does not slow down your site.
Discover many other tips and resources directly on the blog of Elegantthemes.
6 In conclusion...
So, I'm curious, did you know the Lottes? What do you think of these animations? You saw it was easy to use them in Divi...
Note that on this page I inserted 6 Lotties direct in Gutenberg (this article is written with the WordPress editor, not with the Divi Visual Builder). Simply use option B of this tutorial and insert the code in a HTML BlockSimply!


Want to better sell your sites created with Divi? Master all his secrets with my training Divi Video Boost.

Super ces lotties ! Je connaissais pas. Si quelqu’un trouve comment enlever le lottie-player ce serait cool 🙂
Ah mais c’est très simple en fait pour enlever le player !! Il suffit de décocher « controls » avant de copier/coller le code 😆
Bonjour Lycia,
Pas mal, bonne trouvaille.
Perso je ne connaissais pas.
Sinon on peut aussi faire plus de chose avec du SVG. Il faudra cependant connaître un minimum le code SVG pour arriver à un bon résultat mais c’est bien plus poussé.
Merci David, oui le SVG est aussi très intéressant mais en effet, rien n’est « pré-maché », il faudra s’y connaitre un peu 😉 alors que la bibliothèque LottieFiles est vraiment pratique.
Oh punaise Cyril, c’est vrai ? Quelle quiche que je suis 😉 je n’ai pas vu cette option. Merci pour l’info, les autres lecteurs vont être contents de ton intervention 😉 Merci encore.
Super ces petites animations je les trouve adorables . Je vais me laisser tenter pour les roulettes.
Comme nous parlons animations tu nous expliqueras un jour comment tu as réalisé les animations de ta page à propos ? 😉😉🙏🙏
Coucou Christine ! Tu parles de ma page À propos sur La Webeuse ?
Oui Lycia, je parle de la page « à propos » de la Webeuse 👍👍👍
Ah c’est simplement les options d’animation des modules de Divi (onglet Style > Animation)
Bonsoir Lycia , et voici mon article illustré par des lotties ….grâce a toi 👏👍
https://desroulettessouslespieds.fr/visiter-ile-saint-honorat-cannes/
Qu’en penses tu ?
Oh trop génial ! La plage, les cocotiers, le voilier… trop sympa ! Mais à la fin de l’article avec la fille qui dit « bye », c’est un lottie aussi ? Car il me semble pas animé… bisous
Merci Lycia 🥰 . « La fille qui dit bye », c’est mon avatar facebook , et ma signature d’article….tu ne m’avais pas reconnue 🤣🤣🤣 ?
MDR
Bonjour Lycia, merci pour ton article sur les lotties. J’utilise divi supreme, mais les lotties ne s’affichent pas sur mobile. Je ne sais pas pourquoi.
Ah c’est bizarre. Quand les images ne s’affichent pas sur mobile c’est parce qu’elles ont des accents dans le nom du fichier mais pour les lotties aucune idée
Bonjour Lycia, super article ! Comme l’a dit Cyril, pour enlever le player, il faut décocher la case Controls. Ce serait super top de modifier ton article pour gagner du temps 😝. Merci pour tes articles !
Oui tu as raison je vais corriger bientôt