How To To find And Use Lottie Animations For Your Web page

by | Sep 28, 2025 | Etcetera | 0 comments

Animations may make your web sites in reality really feel alive, then again most designers avoid them on account of they slow down loading speeds. The choice seems simple: each you get a web site that crawls or a fast-loading person who feels flat and pointless.

Well, that was once the case until Lottie arrived. This publish covers what Lottie brings to the table, how it differs from earlier methods, and the best way Divi 5 means that you can add the ones animations to your web sites without touching code. Let’s dive in!

What Are Lottie Animations?

Lottie animations are lightweight, JSON-based vector animations. They’re continuously so much smaller than GIFs then again keep the an identical or upper top of the range (5-10x smaller).

Lottie originated from Bodymovin, an After Effects plugin that exports animations as JSON. Engineers at Airbnb later built libraries to run the ones animations on different platforms.

Lottie knowledge are vector-based, as an alternative of pixels. You’ll stretch them massive or small without getting blurry pixels. You’ll moreover edit colors, tempo, and timing by way of changing the code in an instant. They art work on phones, pc methods, and any gadget with a web browser.

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

Lottie caught on on account of they load fast. If truth be told fast. JSON makes knowledge alternate super setting pleasant, which is why the ones animations load one of these lot quicker than older formats.

What Makes Lottie Different From GIFs

GIFs and Lottie principally appear the an identical. Each and every are non-video knowledge that have movements and animations. Then again whilst you review the ones two formats aspect by way of aspect, the differences change into clear actually fast:

Serve as Lottie GIF
Record Dimension 1KB-3MB 1-15MB for short clips
Top quality Vector-based, stays crisp Pixel-based, gets blurry when scaled
Colors Whole gadget color range Limited to 256 colors
Customization Edit after export by way of JSON Should recreate from scratch
Loading Pace Fast on account of tiny document sizes Slow, impacts internet web page potency
Scalability Never-ending without top of the range loss Pixelates when enlarged
Frame Price Up to 123 FPS Usually 15-24 FPS

The primary difference is how they store animation. GIFs save separate image frames like a flipbook. Lottie knowledge use math to rebuild the animation in precise time. That makes Lotties smaller, crisper, and additional flexible.

Where To To search out Lottie Knowledge

LottieFiles is your perfect position to start. You’ll download unfastened knowledge, customize colors and timing, and export them to your duties. Their group uploads new stuff daily.

A screenshot of LottieFiles' homepage

IconScout combines Lottie animations with its icon library, which is excellent for maintaining visual consistency all the way through your site. It supplies editing equipment and construction conversion as a way to download as JSON, GIF, or MP4.

A screenshot of IconScout's homepage

For more effective needs, Creattie helps to keep problems easy. You’ll get right to use their unfastened animations, and their collection makes a speciality of smart trade animations that art work on precise web sites. Most sensible elegance subscribers get editor get right to use to keep an eye on colors and tempo settings.

A screenshot of Creattie's homepage

Most platforms export usual JSON knowledge that art work all over the place. Some add backup formats for platforms that don’t fortify Lottie however. Loose tiers typically give you fundamental downloads, while paid plans release editing choices and higher top of the range exports.

See also  10 Absolute best WordPress Lead Era Plugins in 2023

How To Use Lottie Animations On Your Internet web page

Together with Lottie animations will depend on the best way you assemble your site. Should you code from scratch, include the Lottie script for your HTML and link it to your JSON document. You’ll regulate dimension, tempo, loop, and triggers with JavaScript.

In WordPress, the simplest way is to be able to upload an HTML code block. Throughout the an identical code block, you’ll regulate the scale, tempo, and looping. Then again, the program isn’t very intuitive on account of you’ll’t preview the animation inside the editor.

Plugins like Lottie Participant and a couple of Gutenberg addons give you further alternatives, then again sophisticated interactions and detailed controls are typically paid choices. Gutenberg can in reality really feel awkward for animation art work, and copying animated sections all the way through pages continuously becomes manual and repetitive.

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

Then again, trendy WordPress internet web page builders comparable to Divi 5 include Lottie fortify, disposing of the need for additonal plugins and providing you with whole regulate without writing code.

Divi 5 Makes It Easy To Add Lotties To Your Internet web page

For years, WordPress designers have been annoyed by way of the difficulty of getting animations to art work. The choice typically involves wrestling with refined plugins or diving into custom designed code. Divi 5 changes this with its built-in solution to Lottie animations.

Divi 5 Is A Rebuilt + Further Tough Type Of Divi

Divi 5 rebuilds the whole thing from the ground up slightly than just updating what existed quicker than. We spent over two and a component years rewriting each serve as, surroundings, and interaction to create a further difficult foundation.

A screenshot of Divi 5's new home page

The new framework works even upper with provide WordPress necessities and opens up possibilities that weren’t available quicker than. This shift affects the best way you assemble layouts, design parts, and responsive web sites.

What’s Changed?

  • Whole codebase rebuild eliminates shortcodes and adopts a block-based storage construction that aligns with WordPress’s block editor. Internet sites load quicker on account of Divi best so much the modules you use on each internet web page.
  • The Flexbox Structure Device replaces the former fixed block layouts with Flexbox, which give you precise regulate over alignment, spacing, and the best way parts stack and drift.
  • Design Variables store colors, fonts, numbers, pictures, text, and URLs as reusable values. Should you change your primary brand color once, it’s going to interchange all the way through all of your site.
  • Relative Colours & HSL make color keep watch over mathematical. Create color relationships that robotically alter in line with your base colors, plus whole HSL controls.
  • Possibility Crew Presets assemble reusable style blocks for typography, borders, shadows, and backgrounds. Create them once, then apply them to any phase type.
  • WooCommerce Modules incorporates product-focused modules for custom designed product pages and sophistication pages. Cart and checkout modules are coming briefly.
  • New Modules add the Workforce Carousel for any slider, the Lottie Module for JSON animations, and the Icon Tick list for custom designed lists.
  • Loop Builder dynamically pulls content material subject matter from any publish type. It in reality works with WooCommerce products, ACF fields, custom designed publish varieties, and repeater fields.
  • Support for Complicated CSS devices like REM, VW, VH, clamp(), calc(), min(), and max() without writing code. Visual sliders and inputs deal with the technical stuff.
  • Nested Rows means that you can drop rows inside of of various rows with countless nesting for complicated layouts.
  • Interactions means that you can assemble popups, toggles, mouse effects, and scroll animations without additional plugins.
  • Responsive Editor means that you can view and change responsive, hover, and sticky states for any surroundings all the way through all visual display unit sizes.
  • The Visual Builder Interface incorporates dockable panels, a tabbed interface, delicate and dark modes, keyboard shortcuts, and better layer navigation with breadcrumbs.

A Rapid Analysis Of The usage of Divi 5’s Lottie Module

Divi 5’s Lottie Module streamlines the entire workflow into six easy steps. The ones steps get you from 0 to a dangling web site and show you techniques animations mix together with your site’s design gadget. The entire thing stays consistent and becomes part of your web site’s visual language without rising isolated parts that stick out.

See also  Unfashionable Devices For Your iPhone (2023)

1. Get to the bottom of Your Lottie Provide

There are two techniques to get Lottie animations on your web site. Make a selection in line with how so much regulate you wish to have versus tempo.

The fastest path makes use of knowledge in an instant from platforms like LottieFiles or IconScout. You select the Lottie document you like, customize it, and procure its JSON document. It’s quick and easy. Then again, the ones web sites continuously restrict what collection of you’ll download or customize, and lots of others.

You’ll create animations from scratch in After Effects for normal regulate. Your brand gets precisely what it needs without any download restrictions. You avoid the sameness of in style Lottie libraries. Then again that’s the hardest approach as it calls so that you can understand how to use After Effects and want computing power to render.

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

Image by way of LottieFiles

Pick whichever is sensible for your corporation. One thing to grasp: you’ll be able to’t change the colors of your Lottie knowledge inside Divi 5. The colors stay the an identical as the original document. Then again most Lottie internet pages lend a hand you to choose specific colors and stroke widths quicker than downloading them.

2. Enabling JSON Uploads

As outlined, Lottie knowledge are JSON knowledge. Then again, JSON knowledge can lift payloads that exploit vulnerabilities in how internet pages process knowledge. Somebody would possibly simply cover malware as an innocent animation document. They can moreover include scripts that run on your server or trick other techniques into operating unhealthy directions.

Even if original JSON knowledge, like Lottie animations from relied on belongings, pose minimal likelihood when correctly handled. So, take into account of where you could be getting your knowledge from.

On account of this protection likelihood, WordPress errs on the aspect of caution by way of blockading the ones uploads only.

So, so as to add your JSON document, you need to tell WordPress to start out out accepting them. One selection is the Document Add Sorts plugin, which is helping you to try boxes for quite a lot of document formats.

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

Image by way of Record Upload Varieties

At all times once more up your site first and best upload JSON knowledge from belongings and agree with.

3. Together with the Lottie Module To Your Internet web page

Together with the Lottie Module works like together with each different Divi module. Open the Visual Builder on your internet web page and click on at the plus icon to be able to upload parts. The Lottie Module will appear inside the module document alongside the others.

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

When you add the Lottie Module, you’ll get began configuring your animation provide. As mentioned, you need to permit the JSON uploads first.

4. Configuring Animation Playback Settings

Once your Lottie Module so much, you get right to use quite a few playback controls that make a decision how your animation behaves. The Purpose Animation surroundings lets in you to choose when the animation starts: on load, view, hover, click on on, or scroll to animate.

Scroll to Animate is interesting: it creates interactive effects by way of tying animation construction in an instant to particular person scrolling habits. As shoppers scroll down the internet web page, the animation progresses frame by way of frame. This makes the animation an interactive phase that responds to scrolling as an alternative of taking part in robotically when the internet web page so much.

The Loop Animation toggle helps to keep your animation operating regularly.

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

You’ll alter Animation Pace to regulate how fast the animation plays.

Direction regulate means that you can run animations forward or backward.

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

The Play Mode supplies Standard playback or Leap, which reverses path at the end.

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

5. Great-tuning With Divi’s Design Controls

The Design tab will provide you with regulate over the look of your Lottie animation. You’ll change its dimension, alignment, height, spacing, and position it exactly the position you wish to have it on the internet web page.

Divi 5 means that you can use all its design settings on Lottie Modules. You’ll add transforms, filters, and box shadows. The ones create transition effects that art work together with your animation. The settings permit you to make further complicated visual studies.

See also  How Co-Entrepreneurs Can Leverage Writer Collabs and Branded Content material on Fb

Skilled tip: As an alternative of the use of hardcoded pixels to dimension your Lottie knowledge, use sophisticated gadgets saved as Design Variables. There are a variety of Design Variable alternatives. We won’t transfer into a great deal of in this publish, then again proper right here’s an superb information.

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

Swapping out commonplace hardcoded values together with your Design Variables helps to keep your web site hooked up to its normal design gadget. When you change the values inside the Design Variables, they robotically exchange all over the place they’re used. This makes it quick to make changes every time sought after, specifically when you’re running with customers.

A large animation would in all probability art work great on a desktop, then again overwhelm cellular shoppers. You’ll slow down animations on touch gadgets where shoppers engage differently, or shrink complicated animations that change into onerous to appear on small presentations.

Some animations would in all probability need different positioning on mobiles and capsules, where content material subject matter flows differently.

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 former three-device restrict, you’ll set up to seven breakpoints.

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

Switch between the ones breakpoints to test how your animations look on each visual display unit dimension and make quick adjustments. Sophisticated gadgets like clamp() moreover let you skip the trouble of fixing for each breakpoint.

6. Create Reusable Presets From Lottie Setups

Once your Lottie animation is working totally, save those settings for long term use. Divi 5 supplies two techniques to take a look at this with presets.

Chance Workforce Presets save specific style groups from your Lottie Module. Chances are high that you’ll save the spacing settings, border sorts, or change into effects as separate Chance Workforce Presets. The ones art work all the way through any module type, no longer merely Lottie. Your animation spacing preset would possibly simply moreover style image modules or text blocks.

Click on at the preset icon on the specific surroundings tab, label it correctly, and save.

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

When you will have to apply the an identical alternatives, click on on on the an identical icon inside the other module and choose the preset you saved.

The ones presets art work all the way through any module type. Your animation spacing preset would possibly simply moreover style image modules or text blocks, or vice versa. Substitute the preset once to change each hooked up phase all the way through your site.

Phase Presets, then again, snatch all of your Lottie Module setup excluding the actual animation document. This incorporates the purpose settings, tempo, path, and all design properties.

You’ll save a perfectly configured Lottie animation as an Phase Preset by way of clicking on the preset icon at the top left of the panel. Then, you’ll apply it to other pages with one click on on. Should you exchange the preset later, each instance all the way through your site changes robotically.

A screenshot of where to create element presets

This two-layer way will provide you with flexibility. Assemble your design foundation with Chance Workforce Presets, then combine them into complete techniques with Phase Presets.

Use Lottie Animations In Divi 5 This present day

Lottie knowledge give you rich motion graphics at a fraction of a GIF document dimension. While there are a variety of techniques to be able to upload Lottie knowledge to your site, at the side of WordPress plugins, Divi 5 puts them at your fingertips through simple drag-and-drop controls.

Moreover, style once as Chance Workforce Presets and apply those same design regulations to any module on your site. Assemble your spacing, transforms, and effects into reusable blocks that keep the whole thing consistent. Your animations change into part of a larger design language as an alternative of random moving pieces scattered spherical your pages.

Download Divi 5 and assemble web sites with techniques, no longer chaos.

The publish How To To find And Use Lottie Animations For Your Web page gave the impression first on Chic Subject matters Weblog.

WordPress Web Design

[ continue ]

Related posts:

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!