AI Ready badge for Premium Addons for Elementor
Black Friday Sale

Save Up to 40% Off

Menu Close
Close
Elementor Recent Posts Notification widget bell icon
2
What's New?
Elementor Lottie Animations Widget Tutorial

Elementor Lottie Animations Widget Tutorial

A Lottie file is a vector animation exported as JSON. It stays sharp at any size and weighs a fraction of the equivalent GIF or video, which is why so much of the illustration and micro-interaction work you see on the web now ships in that format.

The Premium Lottie Animations widget takes one of those files, from LottieFiles or from your own media library, and renders it inside an Elementor layout with playback settings attached: how many times it repeats, how fast it runs, whether it waits before starting, and what starts it in the first place. Every option below is from Premium Addons 4.11.101.

Requirements:

  • Premium Addons for Elementor installed and activated. Lottie Animations is part of the free plugin, so no PRO license is needed for this widget.
  • The widget enabled in the Premium Addons dashboard, otherwise it will not appear in the Elementor editor. Check this article to know how to do that.
  • Premium Addons works only with Elementor Page Builder plugin, so you will need that installed and activated as well.

The Animation File

  • File Source: External URL loads the animation from an address, usually a LottieFiles link. Media File loads it from your own WordPress media library.
  • Animation JSON URL: where the file lives, when the source is External URL. Dynamic tags work here, so the address can come from a custom field.
  • Upload JSON File: the media picker, when the source is Media File. It accepts .json files. Uploading the animation to your library once means it is served from your own domain instead of a third-party one.
File Source and Animation JSON URL options in the Premium Lottie Animations widget for Elementor
Loading a Lottie animation from an external URL
Upload JSON File option in the Premium Lottie Animations widget for Elementor
Loading a Lottie animation from the media library

Getting Your JSON URL From LottieFiles

  1. Go and open LottieFiles.com.
  2. Select the Lottie animated file that you want to use.
  3. Once you select it, open the file then copy the link located at Lottie Animation URL.
  4. Go back to the Elementor editor and paste the copied URL into the Animation JSON URL field.

Playback

  • Loop: on by default. Turn it off and the animation runs once, then stops on its last frame. With Reverse also on it starts from the last frame and stops on the first.
  • Times: how many times the animation plays before it pauses. Leave it empty and it repeats forever. It appears when Loop is on, and it is hidden when Trigger is set to Scroll.
  • Reverse: plays the animation backwards.
  • Animation Speed: a multiplier between 0.1 and 3, with 1 as normal speed. 0.5 halves the pace, 2 doubles it.
  • Animation Delay (sec): holds the animation on its first frame, or on its last frame when Reverse is on, for up to 5 seconds before it starts. Useful when several animations on one screen would otherwise all fire at the same moment.
Loop, Times, Reverse, Animation Speed and Animation Delay options in the Premium Lottie Animations widget
Playback options in the Premium Lottie Animations widget

Trigger

Trigger decides what starts the animation, and three of its five options bring extra settings with them.

  • None: no trigger. The animation plays on its own as soon as the widget reaches the screen, since animations are only loaded once they scroll into view. This is what you get when you leave Trigger alone.
  • Viewport: playback is tied to the scroll position and runs as the widget crosses the screen.
  • Hover: the animation stays paused until the cursor is over it.
  • Scroll: the animation advances and rewinds with the page scroll, like a timeline you scrub.
  • Click: the animation stays paused until the visitor clicks it. Clicking again pauses it.

Hover adds one more control:

  • Reset on Mouse Leave: when the cursor leaves, the animation runs backwards to its first frame instead of freezing where it stopped.
Hover trigger and Reset on Mouse Leave option in the Premium Lottie Animations widget
The Hover trigger and its Reset on Mouse Leave option

Scroll and Viewport add these:

  • Speed: how far the animation advances per unit of scroll, from 0 to 10, with 4 as the default. Scroll only.
  • Viewport: two handles, Bottom and Top, marking the part of the screen the animation plays across. The defaults, 0% and 100%, spread the animation over a full pass of the viewport. Narrow the range and it finishes sooner.
Scroll trigger with Speed and Viewport options in the Premium Lottie Animations widget
The Scroll trigger with its Speed and Viewport options

Turning Reverse on hides all three of these controls.


Size, Rotation and Alignment

  • Size: the width of the rendered animation, in px, em, % or vw. 200px by default, and the px slider runs up to 800.
  • Rotate (degrees): turns the animation between -180 and 180 degrees.
  • Alignment: puts the animation Left, Center or Right inside its container. Center by default.

All three take separate values per device, so an animation can be 200px on desktop and 120px on mobile.

Size, Rotate and Alignment options in the Premium Lottie Animations widget
Size, rotation and alignment options

Link

  • Link: turns the whole animation into a click target by laying a transparent link over it, so a click anywhere on the animation follows the link.
  • Link Type: URL to type an address yourself, or Existing Page to pick one of your published posts and pages by title.
  • Link: the address, when Link Type is URL. The options for opening in a new tab and adding nofollow sit behind the gear icon, and dynamic tags are supported.
  • Existing Page: a search field over your posts and pages, when Link Type is Existing Page.
Link, Link Type and Link URL options in the Premium Lottie Animations widget
Link options in the Premium Lottie Animations widget

Render As and Mouse Tilt

  • Render As: SVG or Canvas. SVG is the default and keeps the animation crisp at any size. Canvas draws to a bitmap instead. Switch to Canvas if a page carrying several animations feels heavy.
  • Enable Mouse Tilt: the animation tips in 3D following the cursor.
  • Reverse: flips the direction of the tilt.
Render As and Enable Mouse Tilt options in the Premium Lottie Animations widget
Render As and Mouse Tilt options

Styling the Lottie Animations Widget

The Style tab holds one section, Animation. Its first three options are split across Normal and Hover states.

  • Background Color: the color behind the animation.
  • Opacity: how transparent the animation is.
  • CSS Filters: Blur, Brightness, Contrast, Saturation and Hue, applied to the animation.
Background Color, Opacity and CSS Filters on the normal state of the Premium Lottie Animations widget
Style options on the normal state
Background Color, Opacity and CSS Filters on the hover state of the Premium Lottie Animations widget
Style options on the hover state

Below the state tabs, the rest of the section applies to both states.

  • Border Type: the border style. Color and Width sit beside it in the same group, and Width takes a value per side.
  • Border Radius: rounds the corners, with the four corners linked or set separately.
  • Advanced Border Radius: takes a full CSS border-radius value instead, for shapes the four-corner control cannot make. Get the value from here.
  • Padding: space between the border and the animation, in px, em or %.
Border Type, Border Radius, Advanced Border Radius and Padding options in the Premium Lottie Animations widget
Border and padding options

Conclusion

Most of the work with this widget is in the Trigger setting. A logo animation usually wants None so it plays on load, a decorative illustration halfway down a page reads better on Viewport, and an icon inside a card is a good fit for Hover. Once the trigger is right, Loop, Times and Animation Speed are what you adjust to get the pace you want.


Premium Addons for Elementor plugin logo

Stay Updated

Subscribe to our newsletter to receive the latest updates and features.