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. Create a Lottie Animation in Webflow
- Add a Lottie element to your Webflow project from the Add Elements panel.
- Ensure it’s correctly placed in your design, but do not enable the 'Auto Play' setting.
2. Use Webflow Interactions to Trigger Animation
- Open the Interactions panel and create a new ‘While Scrolling In View’ interaction.
- Select your Lottie element as the trigger element.
3. Set Up the Lottie Animation Trigger
- Within the interactions tab, click Add Animation and set it to control the Lottie animation.
- Adjust the settings so the animation plays based on the scroll position. Set the start to the point when the element begins to enter the viewport and end when it fully exits.
4. Customize the Scroll Animation
- Use the Progress slider under Lottie Animation settings.
- Set the animation range: You might choose from 0% to 100% as the scroll progresses, ensuring the animation correlates with scrolling.
Summary
To prevent your Lottie animations from playing on webpage load, disable auto-play, and set an interaction within Webflow that triggers the animation only when users scroll the element into view. Adjust the animation's progress in the Interactions panel to ensure a smooth start and stop relative to scrolling.