Skip to content
tastebase

tastebase

Sign in

Your agent gets your look, hearts and dislikes in every project. Folders follow you to every device.

We keep the name, avatar and email your provider shares. Nothing else.

dotLottie React

free

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

by LottieFiles GitHub npm
visit
dotLottie React website

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-react
Use 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 />
Visit