Webflow answer

How can I prevent Lottie animations from playing on webpage load in Webflow and only initiate when they scroll into view?

Updated to match Webflow's current help pages.

TL;DR

  • Lottie animations play as the page loads by default. To start one only when it scrolls into view, control its playback with an interaction.
  • Select the Lottie animation element and open the Interactions panel.
  • Add an Element trigger and choose Scroll into view.
  • Choose Lottie playback for the “When scrolled into view” action, then add a Lottie playback action for “When scrolled out of view” and check Reverse.

Preventing Lottie animations from auto-playing on load and starting only upon scrolling into view is achievable in Webflow. Here's how you can set it up:

1. Add a Lottie Animation

  • Add a Lottie animation element to the page and select it.

2. Play the Animation on Entry

  • Open the Interactions panel, click the plus icon next to Element trigger, and choose Scroll into view.
  • For the “When scrolled into view” action, choose Lottie playback under Integrations.
  • For the “When scrolled out of view” action, choose Lottie playback under Integrations and check Reverse.
  • You can set an offset or a delay.

Summary

To keep a Lottie animation from playing on page load and start it when it scrolls into view, control its playback with the Scroll into view element trigger: Lottie playback when it scrolls into view, and Lottie playback with Reverse checked when it scrolls out of view.

Other Webflow questions