Media · Elementor

Lottie Animations widget for Elementor

A Lottie animation with speed, loop, and trigger controls — lighter than a video for motion in a section.

Open live demo

Get King Addons

This page describes the PHP/JS for this widget — not a renamed stub. Install the free plugin from WordPress.org.

Get King Addons

What it actually does

A Lottie animation with speed, loop, and trigger controls — lighter than a video for motion in a section.

render() writes HTML data attributes: data-json-url, data-settings.

The widget script reads data attributes: data-json-url, data-settings.

How to add it in Elementor

  1. Install King Addons. Install Elementor and King Addons. Get King Addons from WordPress.org.
  2. Edit with Elementor. Open a page and click Edit with Elementor.
  3. Insert the widget. Search the panel for “Lottie Animations”. Typing “king” lists every King Addons widget.
  4. Set inspector controls from this widget’s PHP. Configure “File Source”, “Animation JSON URL”, “Upload JSON File”, “Autoplay”. Style and Content tabs are listed on this page.

When to use it

Tip: After King Addons is active, type king in the Elementor search box to list every widget, including Lottie Animations.

Inspector controls from this widget’s PHP

ControlWhat the code does
Settings — File SourceThe chosen value is read in render() and applied on the front end. Options: External URL; Media File.
Settings — Animation JSON URLGet JSON code URL from here.
Settings — Upload JSON FileMedia Library attachment(s); render() uses the URL/ID as the image source.
Settings — AutoplayPassed through to Swiper autoplay.
Settings — LoopSwitcher inspector control (`loop`).
Settings — ReverseSwitcher inspector control (`reverse`).
Settings — Animation SpeedNumeric value used in this widget’s render/JS (default 1, min 0.1, max 3).
Settings — TriggerThe chosen value is read in render() and applied on the front end.
Settings — ViewportSpacing/size control.
Settings — SizeSpacing/size control (min 1, max 800).
Settings — Rotate (degrees)Set rotation value in degrees.
Settings — AlignmentChoose inspector control (`animation_align`).
Settings — Render AsThe chosen value is read in render() and applied on the front end.
Settings — Wrapper LinkWhen this switch is on, render() outputs the wrapped markup.
Settings — Link TypeThe chosen value is read in render() and applied on the front end.
Settings — LinkElementor URL control (href, new tab, nofollow) applied to a front-end link.
Settings — Existing PageAjax Select2: options load from a King Addons admin-ajax endpoint.
Animation (Normal) — OpacitySpacing/size control (min 0.10, max 1).
Animation (Normal) — Transition DurationWrites CSS `transition-duration` onto the widget’s front-end markup. (default 0.3, min 0, max 5).
Animation (Normal) — Css FilterCSS filter group (blur, brightness, contrast, saturation). Selector: `{{WRAPPER}} .king-addons-lottie-animations`.
Animation (Hover) — OpacitySpacing/size control (min 0.10, max 1).
Animation (Hover) — Css FilterCSS filter group (blur, brightness, contrast, saturation). Selector: `{{WRAPPER}} .king-addons-lottie-animations:hover`.

Content and Style tabs from this widget’s PHP, including repeater fields and group controls (typography, background, border, shadow). Elementor’s Advanced tab is core Elementor and is not listed here.

FAQ

What does Lottie Animations actually change on the page?

A Lottie animation with speed, loop, and trigger controls — lighter than a video for motion in a section. Inspector labels from this widget’s PHP include “File Source”, “Animation JSON URL”, “Upload JSON File”, “Autoplay”.

How do I add Lottie Animations in Elementor?

Install King Addons and Elementor, edit a page, search the panel for “Lottie Animations”, drag it onto the canvas, then set Content and Style.

Do I need Elementor Pro?

No. King Addons runs on free Elementor. Some King Addons options (for example template-in-accordion, extra popup conditions, parts of the template catalog) need King Addons Pro — not Elementor Pro.

Related media widgets

Get King Addons

One free plugin. 80+ Elementor widgets, 650+ templates, and 4,000+ sections. Search for Lottie Animations after you activate it.

Get King Addons