Skip to content

dotLottie

LottieFiles' open-source players for .lottie and Lottie JSON animations, rendered with WebAssembly. Players exist for plain JavaScript, React, Vue, Svelte and web components.

LibraryMotion

Install in your project

A code library: your agent installs it and uses it in your codebase.
npm install @lottiefiles/dotlottie-react

The React player is DotLottieReact from @lottiefiles/dotlottie-react (React 16.8 or later). Without a framework, use @lottiefiles/dotlottie-web.

Read the dotLottie Grid Notes (setup, gotchas and reduced motion)