Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

@lottiefiles/dotlottie-react: React component for rendering and controlling dotLottie animations in React applications. #3559

Open
itsmeadarsh2008 opened this issue Jun 25, 2024 · 0 comments

Comments

@itsmeadarsh2008
Copy link

@lottiefiles/dotlottie-react
The @lottiefiles/dotlottie-react package provides a custom React component for rendering and controlling dotLottie animations in React applications.

  • What is the purpose of the custom component?
    To easily integrate and display dotLottie animations within React projects and
    to offer a Reflex-friendly way for beginners to work with dotLottie files, which are a more efficient and feature-rich format compared to traditional Lottie JSON files.
  • What is the expected behavior of the custom component?
    Render dotLottie animations smoothly within React components.
    Provide props for controlling animation playback, such as play, pause, loop, and speed.
    Allow customization of animation appearance and behaviour through various props.
  • What are the use cases for the custom component?
    Adding engaging animations to user interfaces.
    Creating interactive loading indicators.
    Enhancing user experience with animated illustrations or icons.
    Implementing animated micro-interactions in Reflex-based web applications.

Specifics (please complete the following information):

  • Do you have a specific react package in mind? (Optional): More specifically, @lottiefiles/dotlottie-react is the best dotlottie react library for this purpose as it maintains compatibility between .lottie (compressed and optimized) and lottie.json (traditional Lottie json)

Additional context
Component Library Docs: https://developers.lottiefiles.com/docs/dotlottie-player/dotlottie-react/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant