lottie-react
lottie-react copied to clipboard
A lightweight React library for rendering complex After Effects animations in real time using Lottie.
## Description This Pull Request introduces an enhancement to the useLottieInteractivity hook by adding an option to specify the scroll direction. This improvement allows users to set the scroll direction...
## Summary Provide a new prop `as` allowing container to be switched out to a user provided `React.ElementType` or `React.ComponentType` ## Related to Related to #110 ## How is this...
**Is your feature request related to a problem? Please describe.** I will have to use a Lottie animation in buttons, for loading buttons. But the animation is in a div...
This mimicks the `playOnce` animation mode in lottie-interactivity https://docs.lottiefiles.com/lottie-interactivity/animation-modes#animate-when-visible-and-play-once Fixes https://github.com/Gamote/lottie-react/issues/71 I tried to write a test to cover it but I couldn't get the existing tests to work. However...
Hi, I'm using typescript and need to render Lottie using Canvas instead svg, but at renderer prop just use "svg".  So, how can I use canvas property for my...
First off, thanks for this awesome library. ## Issue I stumbled upon an interesting edge case that I think could be valuable to document. It's not a bug in `lottie-react`...
**Is your feature request related to a problem? Please describe.** In my design I need to add custom elements that need to be dynamic in the svg. **Describe the solution...
I have two lottie json files, and they are all corrent rendered in lottie previewer tools.  but when i use state to change the animationData in React, the second...