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 site that crawls or a fast-loading one who feels flat and useless.
Neatly, that was the case till Lottie arrived. This submit covers what Lottie brings to the desk, the way it differs from previous strategies, and the way Divi 5 allows you to upload those animations on 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 information are vector-based, as a substitute of pixels. You’ll stretch them giant or small with out getting blurry pixels. You’ll additionally edit colours, pace, and timing via converting the code immediately. They paintings on telephones, computer systems, and any system with a internet browser.

Lottie stuck on as a result of they load quick. Actually quick. JSON makes information change tremendous environment friendly, which is why those animations load such a lot sooner than older codecs.
What Makes Lottie Other From GIFs
GIFs and Lottie mainly seem the similar. Each are non-video information that experience actions and animations. However while you evaluate those two codecs facet via facet, the variations develop into transparent in point of fact quick:
| Function | Lottie | GIF |
|---|---|---|
| Document Measurement | 1KB-3MB | 1-15MB for brief clips |
| High quality | Vector-based, remains crisp | Pixel-based, will get blurry when scaled |
| Colours | Complete system colour vary | Restricted to 256 colours |
| Customization | Edit after export by the use of JSON | Will have to recreate from scratch |
| Loading Velocity | Rapid because of tiny record sizes | Gradual, affects web page efficiency |
| Scalability | Endless with out high quality loss | Pixelates when enlarged |
| Body Fee | As much as 123 FPS | Generally 15-24 FPS |
The principle distinction is how they retailer animation. GIFs save separate symbol frames like a flipbook. Lottie information use math to rebuild the animation in actual time. That makes Lotties smaller, crisper, and extra versatile.
The place To To find Lottie Information
LottieFiles is your highest place to begin. You’ll obtain loose information, customise colours and timing, and export them on your tasks. Their neighborhood uploads new stuff day-to-day.

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

For more practical wishes, Creattie assists in keeping issues simple. You’ll 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.

Maximum platforms export same old JSON information that paintings in every single place. Some upload backup codecs for platforms that don’t enhance Lottie but. Unfastened tiers generally provide you with elementary downloads, whilst paid plans free up modifying options and better high quality exports.
How To Use Lottie Animations On Your Web page
Including Lottie animations is dependent upon the way you construct your website online. In the event you code from scratch, come with the Lottie script to your HTML and hyperlink it on your JSON record. You’ll keep an eye on measurement, pace, loop, and triggers with JavaScript.
In WordPress, the most simple means is so as to add an HTML code block. Inside the similar code block, you’ll keep an eye on the dimensions, pace, and looping. Alternatively, this system isn’t very intuitive as a result of you’ll’t preview the animation within the editor.
Plugins like Lottie Participant and a few Gutenberg addons provide you with extra choices, however complicated interactions and detailed controls are generally paid options. Gutenberg can really feel awkward for animation paintings, and copying animated sections throughout pages regularly turns into handbook and repetitive.

Alternatively, fashionable WordPress web page developers akin to Divi 5 come with Lottie enhance, doing away with the desire for added plugins and supplying you with complete keep an eye on with out writing code.
Divi 5 Makes It Simple To Upload Lotties To Your Web page
For years, WordPress designers had been pissed off via the trouble of having animations to paintings. The selection generally comes to wrestling with sophisticated plugins or diving into customized code. Divi 5 adjustments this with its integrated way to Lottie animations.
Divi 5 Is A Rebuilt + Extra Robust Model Of Divi
Divi 5 rebuilds the whole lot from the bottom up quite 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 tough basis.

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 components, and responsive websites.
What’s Modified?
- Entire codebase rebuild gets rid of shortcodes and adopts a block-based garage structure that aligns with WordPress’s block editor. Websites load sooner as a result of Divi most effective lots the modules you employ on each and every web page.
- The Flexbox Structure Device replaces the previous mounted block layouts with Flexbox, which provide you with exact keep an eye on over alignment, spacing, and the way components stack and glide.
- Design Variables retailer colours, fonts, numbers, photographs, textual content, and URLs as reusable values. In the event you exchange your number one emblem colour as soon as, it’s going to replace throughout your whole website online.
- Relative Colours & HSL make colour control mathematical. Create colour relationships that routinely modify in response to your base colours, plus complete HSL controls.
- Possibility Crew Presets construct reusable taste blocks for typography, borders, shadows, and backgrounds. Create them as soon as, then observe them to any part kind.
- WooCommerce Modules contains product-focused modules for customized product pages and class pages. Cart and checkout modules are coming quickly.
- New Modules upload the Crew 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 submit kind. It really works with WooCommerce merchandise, ACF fields, customized submit sorts, and repeater fields.
- Reinforce for Complicated CSS devices like REM, VW, VH, clamp(), calc(), min(), and max() with out writing code. Visible sliders and inputs care for the technical stuff.
- Nested Rows allows you to drop rows inside of different rows with limitless nesting for advanced layouts.
- Interactions allows you to construct popups, toggles, mouse results, and scroll animations with out further plugins.
- Responsive Editor allows you to view and alter responsive, hover, and sticky states for any atmosphere throughout all display screen sizes.
- The Visible Builder Interface contains dockable panels, a tabbed interface, mild and darkish modes, keyboard shortcuts, and higher layer navigation with breadcrumbs.
A Fast Evaluation Of The use of Divi 5’s Lottie Module
Divi 5’s Lottie Module streamlines all the workflow into six simple steps. Those steps get you from 0 to a hanging site and display you ways animations combine along with your website online’s design machine. The whole thing remains constant and turns into a part of your site’s visible language with out growing remoted components that stick out.
1. Resolve Your Lottie Supply
There are two tactics to get Lottie animations in your site. Select in response to how a lot keep an eye on you need as opposed to pace.
The quickest course makes use of information immediately from platforms like LottieFiles or IconScout. You choose the Lottie record you prefer, customise it, and obtain its JSON record. It’s fast and simple. Alternatively, those websites regularly limit what number of you’ll obtain or customise, and many others.
You’ll create animations from scratch in After Results for general keep an eye on. Your emblem will get exactly what it wishes with none obtain restrictions. You steer clear of the sameness of widespread Lottie libraries. However that is the toughest manner because it calls for you to know the way to make use of After Results and wish computing energy to render.

Symbol via LottieFiles
Pick out whichever is smart for your enterprise. Something to understand: you can’t exchange the colours of your Lottie information inside of Divi 5. The colours keep the similar as the unique record. However maximum Lottie web pages assist you to select particular colours and stroke widths sooner than downloading them.
2. Enabling JSON Uploads
As defined, Lottie information are JSON information. Alternatively, JSON information can elevate payloads that exploit vulnerabilities in how web pages procedure information. Any individual may just conceal malware as an blameless animation record. They may be able to additionally come with scripts that run in your server or trick different programs into working bad instructions.
Even though authentic JSON information, like Lottie animations from depended on assets, pose minimum chance when as it should be treated. So, take into accout of the place you might be getting your information from.
Because of this safety chance, WordPress errs at the facet of warning via blocking off those uploads solely.
So, to add your JSON record, you want to inform WordPress to start out accepting them. One choice is the Document Add Sorts plugin, which helps you to take a look at packing containers for various record codecs.

Symbol via Document Add Sorts
All the time again up your website online first and most effective add JSON information from assets and accept as true with.
3. Including the Lottie Module To Your Web page
Including the Lottie Module works like including every other Divi module. Open the Visible Builder in your web page and click on the plus icon so as to add components. The Lottie Module will seem within the module record along the others.

While you upload the Lottie Module, you’ll get started configuring your animation supply. As discussed, you want to allow the JSON uploads first.
4. Configuring Animation Playback Settings
As soon as your Lottie Module lots, you get entry to a number of playback controls that decide how your animation behaves. The Cause Animation atmosphere allows you to select when the animation begins: on load, view, hover, click on, or scroll to animate.
Scroll to Animate is fascinating: it creates interactive results via tying animation development immediately to person scrolling conduct. As customers scroll down the web page, the animation progresses body via body. This makes the animation an interactive part that responds to scrolling as a substitute of enjoying routinely when the web page lots.
The Loop Animation toggle assists in keeping your animation working frequently.

You’ll modify Animation Velocity to keep an eye on how briskly the animation performs.
Route keep an eye on allows you to run animations ahead or backward.

The Play Mode provides Customary playback or Jump, which reverses route on the finish.

5. Nice-tuning With Divi’s Design Controls
The Design tab offers you keep an eye on over the glance of your Lottie animation. You’ll exchange its measurement, alignment, peak, spacing, and place it precisely the place you need it at the web page.
Divi 5 allows you to use all its design settings on Lottie Modules. You’ll upload transforms, filters, and field shadows. Those create transition results that paintings along with your animation. The settings can help you make extra advanced visible reports.
Professional tip: As a substitute of the usage of hardcoded pixels to measurement your Lottie information, use complicated devices stored as Design Variables. There are a number of Design Variable choices. We gained’t move into an excessive amount of on this submit, however right here’s an superb information.

Swapping out common hardcoded values along with your Design Variables assists in keeping your site attached to its general design machine. While you exchange the values within the Design Variables, they routinely replace in every single place they’re used. This makes it fast to make adjustments each time wanted, particularly when you find yourself operating with shoppers.
A big animation would possibly paintings nice on a desktop, however weigh down cell customers. You’ll decelerate animations on contact units the place customers have interaction another way, or shrink advanced animations that develop into laborious to look on small displays.
Some animations would possibly want other positioning on mobiles and pills, the place content material flows another way.
The Responsive Editor works with Divi 5’s customizable breakpoints.

As a substitute of the previous three-device prohibit, you’ll set as much as seven breakpoints.

Transfer between those breakpoints to check how your animations glance on each and every display screen measurement and make fast changes. Complicated devices like clamp() additionally help you skip the effort of changing for each and 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 Crew Presets save particular taste teams out of your Lottie Module. Chances are you’ll save the spacing settings, border kinds, or develop into results as separate Possibility Crew Presets. Those paintings throughout any module kind, now not simply Lottie. Your animation spacing preset may just additionally taste symbol modules or textual content blocks.
Click on the preset icon at the particular atmosphere tab, label it as it should be, and save.

While you should observe the similar choices, click on at the similar icon within the different module and make a selection the preset you stored.
Those presets paintings throughout any module kind. Your animation spacing preset may just additionally taste symbol modules or textual content blocks, or vice versa. Replace the preset as soon as to modify each and every connected part throughout your website online.
Part Presets, however, seize your whole Lottie Module setup aside from the real animation record. This contains the cause settings, pace, route, and all design houses.
You’ll save a wonderfully configured Lottie animation as an Part Preset via clicking at the preset icon on the most sensible left of the panel. Then, you’ll use it on different pages with one click on. In the event you replace the preset later, each and every example throughout your website online adjustments routinely.

This two-layer means offers you flexibility. Construct your design basis with Possibility Crew Presets, then mix them into whole programs with Part Presets.
Use Lottie Animations In Divi 5 Nowadays
Lottie information provide you with wealthy movement graphics at a fragment of a GIF record measurement. Whilst there are a number of tactics so as to add Lottie information on your website online, together with WordPress plugins, Divi 5 places them at your fingertips thru easy drag-and-drop controls.
Additionally, taste as soon as as Possibility Crew Presets and observe those self same design laws to any module in your website online. Construct your spacing, transforms, and results into reusable blocks that stay the whole lot constant. Your animations develop into a part of a bigger design language as a substitute of random shifting items scattered round your pages.
Obtain Divi 5 and construct websites with programs, now not chaos.
The submit How To To find And Use Lottie Animations For Your Web page seemed first on Chic Subject matters Weblog.
WordPress Web Design