How to play a Lottie animation on hover or click in Bubble?

How to play a Lottie animation on hover or click in Bubble? Like, for example, liking youtube.

Hi!

You can try this plugin Lottie

I personally haven’t used it but it’s the latest free lottie plugin. Alternatively you can just use the generated HTML code for a particular Lottiefile and paste it into a Bubble HTML element.

If you choose the HTML route and want an animation to restart in a workflow/condition, simply leave the HTML element’s HTML text empty and use a conditional to fill the HTML text to the Lottie code.

1 Like