Skip to content
Agents tracked: 378 Downloads (7d): 244M down 5.7% GitHub stars: 8.4M VS Code installs: 151M Releases (7d): 407 Agent status: 1 with issues Updated Oct 10, 2026

canvas-confetti

Performant confetti animation library for creating celebratory effects in browsers.

Animation and motion npm ISC

Used in agent projects
103
0.8% of 12,697 public repos built with AI coding agents
Rank in animation and motion
#9 of 28
by use in those projects
Downloads
8.5M
npm, last 7 days, canvas-confetti
GitHub stars
12.8K
last push Oct 25, 2025

How canvas-confetti is used

canvas-confetti is a dependency in 103 of the 12,697 public GitHub projects set up for AI coding agents that we scanned (0.8%), #9 of 28 in animation and motion. The most used alternative there is Framer Motion. Projects that use it most often also use Lucide React (72.8%), Tailwind Merge (63.1%), clsx (63.1%).

Often used with canvas-confetti

Lucide React72.8% of canvas-confetti projects · 3.7× more than average
Tailwind Merge63.1% of canvas-confetti projects · 3.8× more than average
clsx63.1% of canvas-confetti projects · 3.6× more than average
Tailwind CSS87.4% of canvas-confetti projects · 2.5× more than average
Framer Motion54.4% of canvas-confetti projects · 4.1× more than average
React95.1% of canvas-confetti projects · 2.2× more than average
Class Variance Authority50.5% of canvas-confetti projects · 3.6× more than average
Recharts40.8% of canvas-confetti projects · 5.0× more than average

By coding agent

Claude Code0.9% of projects set up for it
Cursor1.0% of projects set up for it
GitHub Copilot0.8% of projects set up for it

Share of public repos configured for each agent that list canvas-confetti as a dependency.

Install

Packagenpm install canvas-confetti
Main stacksNext.js (58), TypeScript / JavaScript (41), PHP (2), Python (2)
Example projectssunflower-land/sunflower-land, hzrd149/nostrudel, suhailkakar/prediction-market-starter-kit, flow-industries/paper, databayt/hogwarts

Alternatives to canvas-confetti

All animation and motion

Tool Used in agent projectsDownloads / wk GitHub starsLicense
Framer Motion npm
Simple and powerful animation library for React components.
1,703 (13.4%) 50.1M 33.9K MIT
Tailwind CSS Animate npm
Tailwind CSS plugin adding ready-to-use animation utilities.
945 (7.4%) 20.4M — MIT
tw-animate-css npm
Tailwind CSS v4.0 compatible animation plugin replacement.
851 (6.7%) 39.6M 806 MIT
Embla Carousel npm
Lightweight carousel component with fluid motion and precise swipe handling for React.
605 (4.8%) 30.4M 8,439 MIT
GSAP npm
Professional animation library for high-performance CSS, SVG, canvas and React animations.
599 (4.7%) 5.9M 29K Standard 'no charge' license: https://gsap.com/standard-license.
Motion npm
Animation library for JavaScript and React with simple, powerful motion primitives.
416 (3.3%) 24.4M 33.9K MIT
Lenis npm
Smooth scrolling library that enhances page scroll experiences with physics-based animations.
193 (1.5%) 1.8M 16.3K MIT
React Native Reanimated npm
High-performance animation library for React Native with worklet support.
129 (1.0%) 9.3M 11K MIT
Is canvas-confetti right for your project? Ask AgentGid →