dotLottie React
freePlayer for Lottie (.json) and compressed .lottie animations exported from After Effects or Lottie Creator.

Try these
Rive
Runtime for interactive Rive (.riv) animations with state machines, driven from code.
Torph
Animated text morphing: labels change letter by letter instead of swapping.
NumberFlow
Animated number component: digits roll to the new value, formatted with Intl.NumberFormat.
GSAP SplitText
Splits text into lines, words and characters (with masks) for staggered reveal animations.
Looks that pick it
For your agent
Install
npm i @lottiefiles/dotlottie-reactUse it for
- a success or empty-state illustration a designer exported as Lottie
- a branded loading animation that already exists as a .lottie file
- marketing illustrations from the LottieFiles library
Skip it when
- the animation must react to app state or input beyond play/pause/seek: use rive state machines
- a spinner or progress indicator you could draw in CSS: do not ship a WASM player for it
- you are building the motion yourself: use motion or gsap on real DOM/SVG
What's inside13 free
- DotLottieReact
- DotLottieWorkerReact
- dotLottieRefCallback (player instance)
- Custom playback controls
- Events
- Segments
- Named markers
- Multi-animation .lottie files
- Themes
- State machines (interactivity)
- Layout
- setWasmUrl
- setWorkerUrl
Facts
- Frameworks
- react, vue, svelte, solid, angular, vanilla
- Styling
- unstyled
- Weight
- large
- Accessibility
- weak
- Maturity
- stable
- License
- MIT
- Price
- Free
Alternatives
import { DotLottieReact } from '@lottiefiles/dotlottie-react'
<DotLottieReact src="/success.lottie" autoplay />https://lottiefiles.github.io/dotlottie-web/
Loading website