# Canvas Confetti

JavaScript library that draws confetti animations on an HTML canvas.


Source: https://findsoftware.frbit.cloud/canvas-confetti/
Last reviewed: 2026-11-04
Listed since: 2026-11-04

## Record

### Links

- home: https://catdad.github.io/canvas-confetti/
- repository: https://github.com/catdad/canvas-confetti
- docs: https://github.com/catdad/canvas-confetti

### Identity

- status: active
- maintainer: Kiril Vatev
- maintainerType: individual
- parent: unknown
- firstRelease: 2018
- hqCountry: unknown

### Kind

- category: graphics
- hosting: not applicable
- language: javascript
- runtime: unknown
- runtimeMin: not applicable
- basedOn: unknown

### Content

- contentStore: not applicable
- databases: not applicable
- adminUi: not applicable
- headlessApi: not applicable
- templating: not applicable
- i18n: not applicable

### Rendering and deploy

- runsAs: browser
- renderingModes: not applicable
- installMethod: npm

### License

- licenseModel: open-source
- license: ISC

### Releases

- currentMajor: 1
- latestReleaseDate: 2025-10-25

### Adoption

- githubStargazers: 12846
- packagistDownloads: not applicable
- npmWeeklyDownloads: 9540263
- contributors: 18
- pluginCount: unknown
- packagistMonthlyDownloads: unknown
- ecosystemsMonthlyDownloads: unknown
- httpArchiveSites: unknown
- wordpressActiveInstalls: unknown
- dependentRepos: unknown
- dependentPackages: unknown

### Sources

- urls: https://catdad.github.io/canvas-confetti/ (read 2026-11-04)
- urls: https://github.com/catdad/canvas-confetti (read 2026-11-04)
- urls: https://github.com/catdad/canvas-confetti/blob/master/README.md (read 2026-11-04)
- firstRelease: https://registry.npmjs.org/canvas-confetti (read 2026-11-04)
- maintainer: https://github.com/catdad/canvas-confetti/blob/master/LICENSE (read 2026-11-04)
- language: https://github.com/catdad/canvas-confetti (read 2026-11-04)
- category: https://github.com/catdad/canvas-confetti (read 2026-11-04)
- installMethod: https://github.com/catdad/canvas-confetti/blob/master/README.md (read 2026-11-04)
- installMethod: https://github.com/catdad/canvas-confetti/blob/master/README.md (read 2026-11-04)
- runsAs: https://github.com/catdad/canvas-confetti/blob/master/README.md (read 2026-11-04)
- license: https://github.com/catdad/canvas-confetti (read 2026-11-04)
- licenseModel: https://github.com/catdad/canvas-confetti (read 2026-11-04)
- currentMajor: https://github.com/catdad/canvas-confetti/releases/tag/1.9.4 (read 2026-11-04)
- latestReleaseDate: https://github.com/catdad/canvas-confetti/releases/tag/1.9.4 (read 2026-11-04)
- githubStargazers: https://github.com/catdad/canvas-confetti (read 2026-11-04)
- contributors: https://api.github.com/repos/catdad/canvas-confetti/contributors (read 2026-11-04)
- npmWeeklyDownloads: https://api.npmjs.org/downloads/range/2026-10-26:2026-11-01/canvas-confetti (read 2026-11-04)

## Notes

Canvas Confetti is a JavaScript library that draws confetti animations on an HTML canvas. The npm package is imported into a bundled client build, or loaded from a CDN, where it is exposed as a global `confetti` function. Each call launches particles from an origin point and returns a promise, where the browser supports promises, that resolves when the animation finishes. Calls made before an animation ends share one promise and draw on the same canvas.

## Worth knowing

The README says the package is a client component and will not run in Node, so it is used in the browser only.

---

Data licensed CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Attributes are recorded, never scored; absent means unknown.
Credit, in full: FindSoftware, CC BY 4.0
