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.
| Package | Weekly downloads | 12-month change | Gzip | Dependencies | Last release | Module | Types | Runtimes |
|---|---|---|---|---|---|---|---|---|
| canvas-confetti This package | 6m | +628% | - | 0 | 11 months ago | ESM + CommonJS | None | - |
| fireworks-js | 91.9k | +192% | - | 0 | 2 years ago | ESM + CommonJS | Bundled | - |
| @lottiefiles/dotlottie-web | 1.1m | - | - | 0 | 27 days ago | ESM + CommonJS | Bundled | - |
| @lottiefiles/dotlottie-react | 905.6k | - | - | 1 | 27 days ago | ESM only | Bundled | - |
| konva | 1.9m | +235% | - | 0 | 1 day ago | ESM only | Bundled | - |
| animejs | 746.6k | +159% | - | 0 | 3 months ago | ESM + CommonJS | Bundled | - |
| ngx-lottie | 110.3k | +23% | - | 2 | 2 months ago | ESM only | Bundled | - |
| react-native-confetti-cannon | 96.6k | +47% | - | 0 | 5 years ago | CommonJS | Bundled | - |
| @antv/g2 | 270k | - | - | 12 | 8 months ago | ESM + CommonJS | Bundled | - |
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)
Indexability: Indexed.