How To Find And Use Lottie Animations For Your Website

by | Sep 28, 2025 | Etcetera | 0 comments

Animations could make your websites really feel alive, however maximum designers steer clear of them as a result of they decelerate loading speeds. The selection turns out easy: both you get a web page that crawls or a fast-loading one who feels flat and useless.

Smartly, that was once the case till Lottie arrived. This publish covers what Lottie brings to the desk, the way it differs from outdated strategies, and the way Divi 5 permits you to upload those animations for your websites with out touching code. Let’s dive in!

What Are Lottie Animations?

Lottie animations are light-weight, JSON-based vector animations. They’re regularly a lot smaller than GIFs however stay the similar or higher high quality (5-10x smaller).

Lottie originated from Bodymovin, an After Results plugin that exports animations as JSON. Engineers at Airbnb later constructed libraries to run those animations on other platforms.

Lottie recordsdata are vector-based, as a substitute of pixels. You’ll be able to stretch them giant or small with out getting blurry pixels. You’ll be able to additionally edit colours, pace, and timing by way of converting the code without delay. They paintings on telephones, computer systems, and any gadget with a internet browser.

A visual representation of how raster image scale compared to vector images

Lottie stuck on as a result of they load immediate. In reality immediate. JSON makes knowledge change tremendous environment friendly, which is why those animations load such a lot quicker than older codecs.

What Makes Lottie Other From GIFs

GIFs and Lottie mainly seem the similar. Each are non-video recordsdata that experience actions and animations. However whilst you examine those two codecs aspect by way of aspect, the diversities turn out to be transparent in point of fact immediate:

Characteristic Lottie GIF
Document Dimension 1KB-3MB 1-15MB for brief clips
High quality Vector-based, remains crisp Pixel-based, will get blurry when scaled
Colours Complete gadget colour vary Restricted to 256 colours
Customization Edit after export by way of JSON Should recreate from scratch
Loading Velocity Rapid because of tiny document sizes Gradual, affects web page efficiency
Scalability Limitless with out high quality loss Pixelates when enlarged
Body Price As much as 123 FPS Usually 15-24 FPS

The principle distinction is how they retailer animation. GIFs save separate symbol frames like a flipbook. Lottie recordsdata use math to rebuild the animation in actual time. That makes Lotties smaller, crisper, and extra versatile.

The place To To find Lottie Recordsdata

LottieFiles is your very best start line. You’ll be able to obtain loose recordsdata, customise colours and timing, and export them to your initiatives. Their neighborhood uploads new stuff day by day.

A screenshot of LottieFiles' homepage

IconScout combines Lottie animations with its icon library, which is just right for keeping up visible consistency throughout your website. It provides enhancing equipment and structure conversion in an effort to obtain as JSON, GIF, or MP4.

A screenshot of IconScout's homepage

For more practical wishes, Creattie assists in keeping issues easy. You’ll be able to get entry to their loose animations, and their assortment specializes in sensible industry animations that paintings on actual websites. Top class subscribers get editor get entry to to regulate colours and pace settings.

A screenshot of Creattie's homepage

Maximum platforms export same old JSON recordsdata that paintings all over the place. Some upload backup codecs for platforms that don’t enhance Lottie but. Unfastened tiers typically provide you with elementary downloads, whilst paid plans release enhancing options and better high quality exports.

How To Use Lottie Animations On Your Website online

Including Lottie animations is determined by the way you construct your website. If you happen to code from scratch, come with the Lottie script for your HTML and hyperlink it for your JSON document. You’ll be able to regulate dimension, pace, loop, and triggers with JavaScript.

See also  Get a Free Popup Picnic Layout Pack for Divi

In WordPress, the most straightforward approach is so as to add an HTML code block. Inside the similar code block, you’ll be able to regulate the scale, pace, and looping. Then again, this technique isn’t very intuitive as a result of you’ll be able to’t preview the animation within the editor.

Plugins like Lottie Player and a few Gutenberg addons provide you with extra choices, however complicated interactions and detailed controls are typically paid options. Gutenberg can really feel awkward for animation paintings, and copying animated sections throughout pages regularly turns into handbook and repetitive.

A screenshot of Lottie Player's listing on WordPress plugin repo

Then again, trendy WordPress web page developers equivalent to Divi 5 come with Lottie enhance, casting off the desire for added plugins and supplying you with complete regulate with out writing code.

Divi 5 Makes It Simple To Upload Lotties To Your Website online

For years, WordPress designers were annoyed by way of the trouble of having animations to paintings. The selection typically comes to wrestling with difficult plugins or diving into customized code. Divi 5 adjustments this with its integrated solution to Lottie animations.

Divi 5 Is A Rebuilt + Extra Robust Model Of Divi

Divi 5 rebuilds the whole thing from the bottom up somewhat than simply updating what existed sooner than. We spent over two and a part years rewriting each and every function, atmosphere, and interplay to create a extra robust basis.

A screenshot of Divi 5's new home page

The brand new framework works even higher with present WordPress requirements and opens up probabilities that weren’t to be had sooner than. This shift impacts the way you construct layouts, design parts, and responsive websites.

What’s Modified?

  • Entire codebase rebuild removes shortcodes and adopts a block-based garage structure that aligns with WordPress’s block editor. Websites load quicker as a result of Divi most effective so much the modules you utilize on every web page.
  • The Flexbox Layout System replaces the outdated mounted block layouts with Flexbox, which provide you with exact regulate over alignment, spacing, and the way parts stack and drift.
  • Design Variables retailer colours, fonts, numbers, pictures, textual content, and URLs as reusable values. If you happen to exchange your number one logo colour as soon as, it’ll replace throughout your whole website.
  • Relative Colors & HSL make colour control mathematical. Create colour relationships that robotically alter in response to your base colours, plus complete HSL controls.
  • Option Group Presets construct reusable taste blocks for typography, borders, shadows, and backgrounds. Create them as soon as, then follow them to any component sort.
  • WooCommerce Modules comprises product-focused modules for customized product pages and class pages. Cart and checkout modules are coming quickly.
  • New Modules upload the Team Carousel for any slider, the Lottie Module for JSON animations, and the Icon Checklist for customized lists.
  • Loop Builder dynamically pulls content material from any publish sort. It really works with WooCommerce merchandise, ACF fields, customized publish sorts, and repeater fields.
  • Enhance for Advanced CSS units like REM, VW, VH, clamp(), calc(), min(), and max() with out writing code. Visible sliders and inputs deal with the technical stuff.
  • Nested Rows permits you to drop rows within different rows with limitless nesting for complicated layouts.
  • Interactions permits you to construct popups, toggles, mouse results, and scroll animations with out additional plugins.
  • Responsive Editor permits you to view and adjust responsive, hover, and sticky states for any atmosphere throughout all display screen sizes.
  • The Visible Builder Interface comprises dockable panels, a tabbed interface, gentle and darkish modes, keyboard shortcuts, and higher layer navigation with breadcrumbs.

A Fast Evaluate Of The usage of Divi 5’s Lottie Module

Divi 5’s Lottie Module streamlines all of the workflow into six easy steps. Those steps get you from 0 to a hanging web page and display you ways animations combine along with your website’s design gadget. The whole lot remains constant and turns into a part of your web page’s visible language with out developing remoted parts that stick out.

1. Resolve Your Lottie Supply

There are two tactics to get Lottie animations in your web page. Make a choice in response to how a lot regulate you need as opposed to pace.

See also  The Divi Black Friday Sale Is Coming! Win A Free MacBook Pro While You Wait

The quickest course makes use of recordsdata without delay from platforms like LottieFiles or IconScout. You choose the Lottie document you prefer, customise it, and obtain its JSON document. It’s fast and simple. Then again, those websites regularly limit what number of you’ll be able to obtain or customise, and so on.

You’ll be able to create animations from scratch in After Results for overall regulate. Your logo will get exactly what it wishes with none obtain restrictions. You steer clear of the sameness of common Lottie libraries. However that is the toughest manner because it calls for you to understand how to make use of After Results and want computing energy to render.

A screenshot of LottieFiles plugin in after effects, provided by LottieFiles Youtube Channel

Symbol by way of LottieFiles

Select whichever is smart for your corporation. Something to understand: you can not exchange the colours of your Lottie recordsdata within Divi 5. The colours keep the similar as the unique document. However maximum Lottie internet sites will let you pick out particular colours and stroke widths sooner than downloading them.

2. Enabling JSON Uploads

As defined, Lottie recordsdata are JSON recordsdata. Then again, JSON recordsdata can elevate payloads that exploit vulnerabilities in how internet sites procedure knowledge. Any individual may conceal malware as an blameless animation document. They are able to additionally come with scripts that run in your server or trick different programs into working bad instructions.

Despite the fact that respectable JSON recordsdata, like Lottie animations from relied on resources, pose minimum chance when accurately treated. So, take into account of the place you’re getting your recordsdata from.

Because of this safety chance, WordPress errs at the aspect of warning by way of blockading those uploads fully.

So, to add your JSON document, you wish to have to inform WordPress to begin accepting them. One choice is the File Upload Types plugin, which helps you to test packing containers for various document codecs.

A screenshot of File Upload Types' user interface from their Repo page

Symbol by way of Document Add Varieties

All the time again up your website first and most effective add JSON recordsdata from resources and consider.

3. Including the Lottie Module To Your Web page

Including the Lottie Module works like including another Divi module. Open the Visible Builder in your web page and click on the plus icon so as to add parts. The Lottie Module will seem within the module record along the others.

A screenshot of where to find the lottie module in Divi 5

While you upload the Lottie Module, you’ll be able to get started configuring your animation supply. As discussed, you wish to have to allow the JSON uploads first.

4. Configuring Animation Playback Settings

As soon as your Lottie Module so much, you get entry to a number of playback controls that decide how your animation behaves. The Cause Animation atmosphere permits you to make a choice when the animation begins: on load, view, hover, click on, or scroll to animate.

Scroll to Animate is attention-grabbing: it creates interactive results by way of tying animation growth without delay to person scrolling conduct. As customers scroll down the web page, the animation progresses body by way of body. This makes the animation an interactive component that responds to scrolling as a substitute of taking part in robotically when the web page so much.

The Loop Animation toggle assists in keeping your animation working incessantly.

A screenshot of where to find the loop animation option in Divi 5

You’ll be able to alter Animation Velocity to regulate how briskly the animation performs.

Path regulate permits you to run animations ahead or backward.

A screenshot of where to find the direction option in Divi 5

The Play Mode provides Customary playback or Soar, which reverses course on the finish.

A screenshot of where to find the play mode option in Divi 5

5. High quality-tuning With Divi’s Design Controls

The Design tab provides you with regulate over the glance of your Lottie animation. You’ll be able to exchange its dimension, alignment, peak, spacing, and place it precisely the place you need it at the web page.

Divi 5 permits you to use all its design settings on Lottie Modules. You’ll be able to upload transforms, filters, and field shadows. Those create transition results that paintings along with your animation. The settings permit you to make extra complicated visible studies.

See also  Unmasking Mullenweg: WordPress Exploits Unleashed WordPress, a content material control gadget…

Professional tip: As an alternative of the usage of hardcoded pixels to dimension your Lottie recordsdata, use complicated devices stored as Design Variables. There are a number of Design Variable choices. We received’t move into an excessive amount of on this publish, however right here’s an excellent guide.

A screenshot of using clamp() values with vw and rems being used in lottie icons

Swapping out common hardcoded values along with your Design Variables assists in keeping your web page attached to its general design gadget. While you exchange the values within the Design Variables, they robotically replace all over the place they’re used. This makes it fast to make adjustments every time wanted, particularly when you’re running with purchasers.

A big animation may paintings nice on a desktop, however crush cellular customers. You’ll be able to decelerate animations on contact units the place customers engage another way, or shrink complicated animations that turn out to be laborious to peer on small monitors.

Some animations may want other positioning on mobiles and drugs, the place content material flows another way.

The Responsive Editor works with Divi 5’s customizable breakpoints.

A screenshot of where to find the responsive editor option in Divi 5

As an alternative of the outdated three-device prohibit, you’ll be able to set as much as seven breakpoints.

A screenshot of where to find and enable breakpoints in Divi 5

Transfer between those breakpoints to check how your animations glance on every display screen dimension and make fast changes. Complicated devices like clamp() additionally permit you to skip the trouble of changing for every breakpoint.

6. Create Reusable Presets From Lottie Setups

As soon as your Lottie animation is operating completely, save the ones settings for long run use. Divi 5 provides two tactics to try this with presets.

Possibility Team Presets save particular taste teams out of your Lottie Module. Chances are you’ll save the spacing settings, border types, or become results as separate Possibility Team Presets. Those paintings throughout any module sort, now not simply Lottie. Your animation spacing preset may additionally taste symbol modules or textual content blocks.

Click on the preset icon at the particular atmosphere tab, label it accurately, and save.

A screenshot of where to find the option group preset option in Divi 5

While you should follow the similar choices, click on at the identical icon within the different module and make a selection the preset you stored.

Those presets paintings throughout any module sort. Your animation spacing preset may additionally taste symbol modules or textual content blocks, or vice versa. Replace the preset as soon as to switch each and every connected component throughout your website.

Component Presets, however, seize your whole Lottie Module setup except for the true animation document. This comprises the cause settings, pace, course, and all design houses.

You’ll be able to save a superbly configured Lottie animation as an Component Preset by way of clicking at the preset icon on the most sensible left of the panel. Then, you’ll be able to use it on different pages with one click on. If you happen to replace the preset later, each and every example throughout your website adjustments robotically.

A screenshot of where to create element presets

This two-layer method provides you with flexibility. Construct your design basis with Possibility Team Presets, then mix them into entire applications with Component Presets.

Use Lottie Animations In Divi 5 Lately

Lottie recordsdata provide you with wealthy movement graphics at a fragment of a GIF document dimension. Whilst there are a number of tactics so as to add Lottie recordsdata for your website, together with WordPress plugins, Divi 5 places them at your fingertips thru easy drag-and-drop controls.

Additionally, taste as soon as as Possibility Team Presets and follow those self same design regulations to any module in your website. Construct your spacing, transforms, and results into reusable blocks that stay the whole thing constant. Your animations turn out to be a part of a bigger design language as a substitute of random transferring items scattered round your pages.

Obtain Divi 5 and construct websites with programs, now not chaos.

The publish How To Find And Use Lottie Animations For Your Website seemed first on Elegant Themes Blog.

WordPress Maintenance Plans | WordPress Hosting

read more

0 Comments

Submit a Comment

DON'T LET YOUR WEBSITE GET DESTROYED BY HACKERS!

Get your FREE copy of our Cyber Security for WordPress® whitepaper.

You'll also get exclusive access to discounts that are only found at the bottom of our WP CyberSec whitepaper.

You have Successfully Subscribed!