Skip to content
JS
Alternatives

canvas-confetti alternatives

8 packages that do the same job as canvas-confetti: fireworks-js, @lottiefiles/dotlottie-web, @lottiefiles/dotlottie-react, konva, animejs, ngx-lottie, react-native-confetti-cannon, @antv/g2. Figures below are from npm, GitHub and Bundlephobia.

Data as of 25 Sept 2026
PackageWeekly downloads12-month changeGzipDependenciesLast releaseModuleTypesRuntimes
canvas-confetti
This package
6m+628%-011 months agoESM + CommonJSNone-
fireworks-js91.9k+192%-02 years agoESM + CommonJSBundled-
@lottiefiles/dotlottie-web1.1m--027 days agoESM + CommonJSBundled-
@lottiefiles/dotlottie-react905.6k--127 days agoESM onlyBundled-
konva1.9m+235%-01 day agoESM onlyBundled-
animejs746.6k+159%-03 months agoESM + CommonJSBundled-
ngx-lottie110.3k+23%-22 months agoESM onlyBundled-
react-native-confetti-cannon96.6k+47%-05 years agoCommonJSBundled-
@antv/g2270k--128 months agoESM + CommonJSBundled-

12-month change compares the average of the last 4 weeks of downloads with the first 4 weeks of the 52-week series. Gzip size is for the whole package (Bundlephobia). Runtimes are taken from each package's own documentation; "-" means not recorded.

A simple fireworks library!

Compared with canvas-confetti

  • 65x fewer weekly downloads (91.9k vs 6m)
  • Bundled types vs no types
  • Last release 13 Jul 2024 vs 25 Oct 2025
  • 9.2x fewer GitHub stars (1.4k vs 12.8k)

Lottie and DotLottie player for the web

Compared with canvas-confetti

  • 5.4x fewer weekly downloads (1.1m vs 6m)
  • Bundled types vs no types
  • Declares Node.js >=18.17.0 vs none declared
  • Last release 28 Aug 2026 vs 25 Oct 2025
  • 14x fewer GitHub stars (884 vs 12.8k)

React wrapper around the dotlottie-web library

Compared with canvas-confetti

  • 6.6x fewer weekly downloads (905.6k vs 6m)
  • 1 dependency vs 0
  • ESM only vs ESM + CommonJS
  • Bundled types vs no types
  • Declares Node.js >=18.17.0 vs none declared
  • Last release 28 Aug 2026 vs 25 Oct 2025
  • 14x fewer GitHub stars (884 vs 12.8k)

HTML5 2d canvas library for interactive graphics, design editors, whiteboards, and diagrams.

Compared with canvas-confetti

  • 3.1x fewer weekly downloads (1.9m vs 6m)
  • ESM only vs ESM + CommonJS
  • Bundled types vs no types
  • Last release 23 Sept 2026 vs 25 Oct 2025
  • 1.2x more GitHub stars (14.8k vs 12.8k)

JavaScript animation engine

Compared with canvas-confetti

  • 8.0x fewer weekly downloads (746.6k vs 6m)
  • Bundled types vs no types
  • Last release 22 Jun 2026 vs 25 Oct 2025
  • 5.7x more GitHub stars (73.1k vs 12.8k)

<h1 align="center"> <img src="https://raw.githubusercontent.com/ngx-lottie/ngx-lottie/refs/heads/master/docs/assets/logo.png"> </h1>

Compared with canvas-confetti

  • 54x fewer weekly downloads (110.3k vs 6m)
  • 2 dependencies vs 0
  • ESM only vs ESM + CommonJS
  • Bundled types vs no types
  • Last release 25 Jun 2026 vs 25 Oct 2025
  • 53x fewer GitHub stars (239 vs 12.8k)

React Native confetti explosion and fall like iOS does.

Compared with canvas-confetti

  • 62x fewer weekly downloads (96.6k vs 6m)
  • CommonJS vs ESM + CommonJS
  • Bundled types vs no types
  • Last release 3 Mar 2021 vs 25 Oct 2025
  • 24x fewer GitHub stars (528 vs 12.8k)

the Grammar of Graphics in Javascript

Compared with canvas-confetti

  • 22x fewer weekly downloads (270k vs 6m)
  • 12 dependencies vs 0
  • Bundled types vs no types
  • Last release 6 Jan 2026 vs 25 Oct 2025
  • About the same number of GitHub stars (12.6k vs 12.8k)
Sources: npm registry, npm downloads API, GitHub API, Bundlephobia. Data fetched 25 Sept 2026.

Indexability: Indexed.