dotLottie Web
A strong pick. 2nd of 9 animation libraries.
dotLottie Web is LottieFiles' official player for Lottie (.json) and dotLottie (.lottie) animations. It is built on Rust/WASM and ThorVG, with wrappers for React, Vue, Svelte, Solid and Web Components. If you need to play designer-made Lottie files today, it is the maintained choice over the stalled lottie-web. It is not a general tool for animating your own UI; Motion is.
Best for: Teams that ship Lottie or dotLottie animations from designers and want an actively maintained, GPU-capable player with framework wrappers.
Scores
Overall7.1
How strongly do we recommend it for a new project today?
Claude Opus 5.5: 6.5, likely 5.5 to 7.5
For playing Lottie files on a new project, it is the pick to make over the stalled lottie-web: maintained, GPU-capable and dependency-free. Against the whole category it does a narrow job, and Motion is the default for animating your own interface. The 0.x API, the WASM load cost and the lack of independent validation keep it out of the 7–8 band.
- peers Lottie Web: The legacy peer had no commits last year
- peers Motion downloadsLast4Weeks: The general-purpose leader has 275M downloads
- lottiefiles.com/blog/working-with-lottie-animations/hardware-accelerated-lottie-on-the-web-dotlottie-web-now-ships-webgl-webgpu: GPU renderers shipped in 2026
GPT-6.2 Sol: 7.7, likely 6.6 to 8.7
Pick dotLottie Web for new projects built around .lottie assets, especially when themes or state machines matter. It is more actively maintained than Lottie Web, whose smaller SVG build remains a practical fit for simple JSON playback. Motion is the stronger default for animating interface layout and gestures. The initial WebAssembly download and limited independent evidence about performance across devices keep the recommendation below a category default.
- docs.lottiefiles.com/en/runtimes/distributions/js: Documents themes, state machines, and playback controls
- evidence.npm.latestPublishedAt, evidence.github.commitsLastYear, peers: Active core development compared with Lottie Web
- illos.dev/guides/lottie-animation: Independent comparison shows the smaller Lottie Web SVG build
- motion.dev/docs: Motion covers general-purpose layout, spring, and gesture animation
Needed by many3.7
How many developers need a tool for this job?
Claude Opus 5.5: 3.5, likely 2.5 to 4.5
Playing Lottie files is a clear niche inside the animation category. It serves teams whose designers export from After Effects or LottieFiles, mostly for marketing pages, onboarding screens and app illustrations. It runs on any framework and in Node, but most UI animation work does not need a Lottie player.
- github description: A Lottie and dotLottie player, not a general animation library
- github.com/LottieFiles/dotlottie-web: Official LottieFiles web player with framework wrappers
GPT-6.2 Sol: 3.8, likely 2.8 to 4.8
The player serves a clear subset of web projects that ship authored vector animations. Its framework support makes it easy to adopt across frontend stacks, while its controls apply to the animation inside the canvas. State of JavaScript measures Lottie as a group, so the share that needs this particular player is uncertain.
- docs.lottiefiles.com/en/runtimes/distributions/js: File playback, animation controls, and framework wrappers
- 2025.stateofjs.com/en-US/other-tools: 1,297 respondents reported using Lottie across implementations
Helps a lot7.6
How well does it do the job for those who need it?
Claude Opus 5.5: 7.0, likely 5.5 to 8.0
For Lottie playback it is feature-rich: three renderers (software, WebGL2 and WebGPU), worker rendering, theming, state machines and typed wrappers for the main frameworks. The roughly 500 KB WASM engine adds load cost. Some open bugs come from ThorVG, the rendering engine it uses: slow WebGL on Android WebView, missing colours, GIF playback and canvas aspect ratio. No independent benchmark against lottie-web exists, so the speed claims come from the vendor, which keeps the range wide.
- lottiefiles.com/blog/working-with-lottie-animations/hardware-accelerated-lottie-on-the-web-dotlottie-web-now-ships-webgl-webgpu: WebGL2 and WebGPU backends shipped in May 2026; WebGPU is experimental
- forum.lottiefiles.com/t/how-to-reduce-dotlottie-initial-rendering-time-due-to-wasm/6802: A user reports slow WASM load hurting LCP
- github.com/LottieFiles/dotlottie-web/issues: Open rendering bugs tied to ThorVG
- npm hasTypes: Ships its own TypeScript types
GPT-6.2 Sol: 8.2, likely 7.1 to 9.1
Version 0.83.2 offers detailed playback control, theming, and state machines, with software, worker, and GPU rendering options. TypeScript declarations and examples make basic integration straightforward for developers and coding agents. The roughly 500 KB compressed engine and partial expression support are concrete limits, and rendering performance varies by asset and device.
- evidence.npm.latestVersion, evidence.npm.hasTypes: Version 0.83.2 includes TypeScript declarations
- github.com/LottieFiles/dotlottie-web: Rendering backends, playback controls, and typed events
- illos.dev/guides/lottie-animation: Independent size comparison found over 500 KB compressed on 0.81.0
- github.com/thorvg/thorvg/wiki/Lottie-Support: Renderer support matrix documents missing expressions
- github.com/LottieFiles/dotlottie-web/issues/986: Android WebView slowdown reported on 0.81.0 and addressed in 0.82.1
Holds up over time7.4
Will it still be a good choice in two years?
Claude Opus 5.5: 7.0, likely 6.0 to 8.5
LottieFiles pays for the work, and the repository is busy: 194 commits, 27 contributors, 627 merged PRs and only 8 open issues. The ecosystem is moving here from lottie-web and the deprecated @dotlottie players. It is still 0.x with 39 versions in a year, so upgrades can break code. It also depends on one company's strategy.
- github commitsLastYear: 194 commits in the last year
- npm versionsLastYear: 39 versions in the last year, latest 0.83.2
- peers Lottie Web commitsLastYear: 0 commits, so the old player has stalled
- npmjs.com/package/@dotlottie/player-component: The old player is deprecated in favour of the new dotlottie packages
GPT-6.2 Sol: 7.7, likely 6.5 to 8.7
LottieFiles maintains the player and its shared Rust engine. The core published 39 npm versions in the past year, and recent releases addressed user reports about rendering and Safari audio. Maintenance appears concentrated, and recent releases changed the marker type and removed experimental MP4 support, so upgrades can require integration work.
- evidence.github.commitsLastYear, evidence.github.contributors, evidence.npm.versionsLastYear: 194 monorepo commits, 27 contributors, and 39 core npm versions
- github.com/LottieFiles/dotlottie-web/blob/main/packages/web/CHANGELOG.md: Core fixes, marker type change, and experimental MP4 removal
- intel.aikido.dev/packages/npm/%40lottiefiles/dotlottie-web: One account made 15 of 18 commits in its sample
Used widely5.0
How many use it, and is that growing?
Claude Opus 5.5: 5.5, likely 4.5 to 6.5
It has about 9.6M downloads in 4 weeks, up from 2.5M a year ago. That ratio of about 3.9 sits just under the 4.1 median, so it is roughly holding its share, not gaining. Part of the count comes from installs through dotlottie-react and the other wrappers. lottie-web still has about four times the downloads. With 953 stars and a near-empty ecosyste.ms dependents count (a scoped package, so probably an undercount), it is likely used by tens of thousands of projects.
- npm downloadsLast4Weeks: 9.63M, against 2.47M a year ago
- medianDownloadsRatio: Its ratio of 3.9 is just below the 4.1 median
- peers Lottie Web downloadsLast4Weeks: 40.9M, so the legacy player is still far larger
- dependents: 1 repo, likely an undercount
GPT-6.2 Sol: 4.4, likely 2.7 to 6.1
Four-week core installs rose from 2.47 million to 9.63 million. The 3.90× increase beat Lottie Web's 3.12×, while falling just short of the 4.1× catalog baseline. The React wrapper installs the core automatically, and repository stars cover all the wrappers. Sparse dependent counts and public discussion leave the number of direct adopters uncertain.
- evidence.npm.downloadsLast4Weeks, evidence.npm.downloadsSame4WeeksYearAgo, medianDownloadsRatio, peers: Growth lagged the catalog baseline and outpaced Lottie Web
- evidence.dependents, evidence.github.stars, evidence.hackerNews, evidence.bluesky: One indexed repo, zero indexed packages, 953 shared stars, and no matched posts
- summary.ecosyste.ms/projects/380401: React wrapper recorded 7.55 million monthly downloads in its snapshot
- docs.lottiefiles.com/en/runtimes/distributions/react/v0.x/gpu-rendering: The React wrapper depends on the core package
Vouched for4.9
Who stands behind it being good?
Claude Opus 5.5: 4.0, likely 2.5 to 5.5
Most of the backing comes from LottieFiles itself, the company that makes the format and the tooling. I found no independent benchmarks, no Hacker News stories, no Bluesky posts and no survey data. The Lottie format itself is widely trusted, but this player has little outside endorsement.
- hackerNews stories: 0 stories
- bluesky posts: 0 posts
- lottiefiles.com/runtimes: Performance claims come from the vendor
GPT-6.2 Sol: 5.7, likely 4.2 to 7.1
MediaSmart uses the React wrapper in production and reports improvements from loading the player and mounting animations later. Lottie4J uses the Web Component as a rendering reference for frame-by-frame tests. Independent measurements establish the download cost, while package-specific satisfaction and large production deployments remain sparsely documented.
- github.com/MediaSmartCH/website: Production integration with measured loading and rendering trade-offs
- reddit.com/r/JavaFX/comments/1ulgch3/closing_the_visual_gap_between_lottie4j_and_the: Lottie4J maintainer reports using dotlottie-wc as a test reference
- illos.dev/guides/lottie-animation: Independent compressed-size measurement against Lottie Web
- 2025.stateofjs.com/en-US/other-tools: Survey reports Lottie usage at the ecosystem level
Safe7.8
How safe is it to depend on?
Claude Opus 5.5: 7.5, likely 6.5 to 8.5
It has no npm dependencies, an MIT licence and no known advisories, and a company publishes it. There is no OpenSSF Scorecard, so I cannot check how releases are made. By default the WASM binary loads from a CDN at runtime, which adds a third-party request unless you self-host it.
- npm dependencies: 0 dependencies
- advisories total: No advisories
- scorecard: No OpenSSF Scorecard
- unpkg.com/@lottiefiles/dotlottie-web@0.81.0/README.md: The WASM engine is fetched from a CDN by default
GPT-6.2 Sol: 8.0, likely 6.7 to 9.0
The MIT-licensed core declares zero npm runtime dependencies, and OSV lists zero advisories for it. GitHub Actions publishes with npm provenance. The default player fetches a version-pinned WebAssembly binary from a CDN, with self-hosting available. LottieFiles reported that dotLottie was unaffected by the 2024 compromise of its older player, and the missing OpenSSF Scorecard and limited visibility into release permissions widen the range.
- evidence.npm.dependencies, evidence.npm.license, evidence.advisories, evidence.scorecard: Zero declared runtime dependencies, MIT, zero OSV advisories, and no Scorecard
- github.com/LottieFiles/dotlottie-web/blob/main/.github/workflows/release.yml: GitHub Actions npm release workflow uses an identity token
- github.com/LottieFiles/dotlottie-web/blob/@lottiefiles%2Fdotlottie-web@0.83.2/packages/web/package.json: Published package configuration enables provenance
- github.com/LottieFiles/dotlottie-web/blob/@lottiefiles%2Fdotlottie-web@0.83.2/packages/web/README.md: Version-pinned CDN loading and self-hosted WebAssembly options
- lottiefiles.com/blog/inside-lottiefiles/resolution-of-security-incident-with-lottiefiles-lottie-player-package: Incident report identifies the affected older package and release hardening
Good
- It is the maintained, official successor to lottie-web, which had no commits in the last year.
- It offers software, WebGL2 and WebGPU renderers behind the same API, plus a web worker mode for heavy animations.
- It has zero npm dependencies, built-in TypeScript types and official wrappers for React, Vue, Svelte, Solid and Web Components.
- It plays both .json and compressed .lottie files, and the dotLottie format adds theming and state machines.
Bad
- It only plays pre-made Lottie files and cannot animate your own DOM elements the way Motion or Anime.js can.
- The WASM engine is about 500 KB compressed and loads from a CDN by default, which can hurt first render and LCP unless you self-host and preload it.
- It is still on 0.x with many releases a year, so the API can change between minor versions.
- Users report rendering gaps that depend on ThorVG, such as slow WebGL on Android WebView, missing colours and GIF playback problems.
The numbers
- npm downloads, 4 weeks
- 9.6M ×3.9 in a year
- GitHub stars
- 953
- Commits, 12 months
- 194
- npm version
- 0.83.2 Nov 2026
- Versions, 12 months
- 39
- Advisories, 24 months
- 0 of 0 ever
- OpenSSF Scorecard
- None
- Licence
- MIT
Read on 21 November 2026 from GitHub (LottieFiles/dotlottie-web), npm (@lottiefiles/dotlottie-web), OSV and the OpenSSF Scorecard.
Animation libraries
- 9.0Motion
- 7.1dotLottie Web
- 7.1Anime.js
- 7.1AutoAnimate
- 6.9Rive
- 6.7react-spring
- 5.4Lottie Web
- 4.3Theatre.js
- 2.7Velocity