Webflow sync, pageviews & more.
NEW

How can I make Lottie animations play on hover and stop at the last frame in Webflow?

TL;DR
  • Drag in a Lottie element, upload your .json, set playback to "On Hover (Interaction)", direction to "Forward", and turn off loop.
  • Add a Hover In interaction on the parent element to play the Lottie from start to end, and leave Hover Out empty to stop at the final frame.

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.

1. Add and Configure the Lottie Animation

  • 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.

Rate this answer

Other Webflow Questions