To play a Lottie animation on hover and stop at the last frame in Webflow, you need to use Webflow’s native Lottie element with a few specific settings and interactions.
- Drag a Lottie element into your desired section or container.
- Upload your .json Lottie file or paste the URL if it's hosted externally.
- In the Lottie settings panel, under "Playback", select "On Hover (Interaction)" — not Continuous or Scroll.
- Set Direction: "Forward"
- Set Loop: Off (unchecked)
2. Set the Lottie Animation to Play on Hover
- Select the parent element (e.g., a Div block around the Lottie animation), not the Lottie itself.
- Go to Interactions → Element Trigger → Mouse Hover → Hover In / Hover Out.
- For Hover In:
- Add an action: Lottie → Play
- Target: the Lottie animation inside
- Set Start Frame to 0 and End Frame to 100%
- Easing: Linear, Duration: Set based on your animation needs
- For Hover Out:
- Do nothing — this ensures the animation doesn't rewind or reverse
3. Ensure It Stops at the Last Frame
- Since you're using Play from start to end without enabling Loop, the animation will automatically stop at the final frame when it completes.
- That final frame remains visible until something else changes the animation state.
Summary
To trigger a Lottie animation on hover and stop at the final frame in Webflow: use the Lottie element with On Hover (Interaction) playback, set a Hover In interaction to play it, and leave Hover Out blank. This ensures it plays once and ends on its last frame.