catdad

    catdad/canvas-confetti

    πŸŽ‰ performant confetti animation in the browser

    12.8K stars
    470 forks
    12.8K GitHub watchers
    Updated Nov 1, 2026
    View on GitHub

    Build with Backblaze B2

    SDKs, agent skills, IDE extensions, and reference pipelines from Backblaze Labs. All open source.

    Explore Backblaze Labs

    Loading star history...

    Where it stands

    Rank, growth pace and release cadence relative to everything GStars tracks.

    No releases in the last 90 days; the most recent was 372 days ago, with 18 contributors on GitHub.

    Gained 10% more stars in the last 90 days than in the 90 days before.

    Use Cases & Benefits

    • Creates performant confetti animations using HTML canvas in the browser.
    • Offers extensive customization and efficient rendering with optional web worker support for non-blocking animations.
    • Use for adding celebratory effects to web apps with customizable particle count, colors, shapes, and motion.
    • Use for creating emoji or custom-shaped confetti by converting SVG paths or text into particle shapes.
    • Use for embedding confetti animations in specific page areas by creating confetti instances tied to custom canvas elements.

    Should you depend on it?

    License terms, project hygiene and risks, from GitHub metadata and GStars' snapshots.

    License

    ISC

    Permissive: commercial use, modification and redistribution are allowed with attribution.

    Community files

    • README: present

    Watch-outs

    • Warning: No commits in over a year (last push Oct 2025).

    General guidance from repository metadata, not legal advice. How we score

    From the README

    You can install this module as a component from NPM:

    You can then require('canvas-confetti'); to use it in your project build. Note: this is a client component, and will not run in Node. You will need to build your project with something like webpack in order to use this.

    You can also include this library in your HTML page directly from a CDN:

    Note: you should use the latest version at the time that you include your project. You can see all versions on the releases page.

    Thank you for joining me in this very important message about motion on your website. See, not everyone likes it, and some actually prefer no motion. They have ways to tell us about it and we should listen. While I don't want to go as far as tell you not to have confetti on your page just yet, I do want to make it easy for you to respect what your users want. There is a disableForReducedMotion option you can use so that users that have trouble with chaotic animations don't need to struggle on your website. This is disabled by default, but I am considering changing that in a future major release. If you have strong feelings about this, please let me know. For now, please confetti responsibly.

    Excerpt from the catdad/canvas-confetti README on GitHub (ISC license). Β© its authors.Read the full README on GitHub

    Daily snapshots

    Stars gained per day, and how forks and open issues moved, from GStars' daily snapshots

    Forks

    470+4

    Open issues

    44+3

    Compared with peers in Web

    Fastest-growing repositories GStars tracks in this cohort for the week of Nov 8, by 7-day star growth

    catdad/canvas-confetti compared with Web repositories by stars, 7-day star growth, health score and last release
    RepositoryStars+7dHealthLast release
    pingdotgg/t3code55.7K+12.2K75today
    pbakaus/impeccable107.6K+6.1K751 day ago
    meta/astryx22.8K+4.8K75today
    Renhuai123/ziwei-doushu17.5K+3.7K7526 days ago
    ranxianglei/billion-context6.3K+2.4K753 days ago
    catdad/canvas-confetti12.8Kβ€”16372 days ago
    Category median22.8K+4.8K75β€”

    Discover Repositories

    Search across tracked repositories by name or description