js-confetti
Tiny zero-dependency confetti library for JavaScript and React, with canvas rendering, configurable colors, particle count, sizes and shapes, optional emoji confetti, resize handling and a simple fire method for button clicks, signups and success moments.
js-confetti on GitHub loonywizard/js-confetti is a free MIT tiny zero-dependency confetti library for JavaScript and React, npm js-confetti 0.13.1 no declared Node engines, canvas rendering with configurable colors particle count sizes and shapes optional emoji confetti resize handling and a simple fire method for button clicks signups and success moments, zero dependencies zero peer, no sold commercial tier (data as of Nov 24, 2026).
*This is an affiliate link, we may earn a commission at no extra cost to you.
Is js-confetti free?
js-confetti: js-confetti is free open-source software released under the MIT license; the js-confetti package latest 0.13.1 on npm has no declared Node engines, published Sep 2, 2025. No paid commercial edition or per-seat license is sold by the project (data as of Nov 24, 2026). Check the official page for current status before relying on it.
Frequently Asked Questions
Is js-confetti free?
The code is free to self-host, but a hosted plan from the vendor may not be. js-confetti publishes its source, so cost depends on where you run it.
How much does js-confetti cost?
js-confetti is free open-source software released under the MIT license; the js-confetti package latest 0.13.1 on npm has no declared Node engines, published Sep 2, 2025. No paid commercial edition or per-seat license is sold by the project (data as of Nov 24, 2026). Usage volume, plan limits and add-ons can push the bill above the figures shown, so confirm the current numbers on the vendor page before committing.
Where can I check js-confetti's current pricing?
On js-confetti's official site, linked from this page. We only publish a price after reading the vendor's own pricing page, so if this page shows no number, it means no traceable public price is on file — not that the tool is free.
What is js-confetti?
One instance creates and manages an overlay canvas; calling fire spawns a batch of pieces from the bottom or a chosen origin, and colours, sizes, count and emoji shapes come from constructor options. The library handles device pixel ratio and resize itself, so the effect stays crisp on retina screens and survives window changes. It suits lightweight celebration feedback where a full particle engine would be excessive payload.
How does pricing work?
The package installs free under its MIT license with no seat license; it bundles into the frontend app or runs in-process, and any commercial support or managed service would be outside the open-source project.
How does js-confetti compare with other tools in Dev Workflow & Productivity?
js-confetti is listed in the Dev Workflow & Productivity category, alongside 2 other tools we track here. 2 of those 2 peers have a dated price we read from the vendor's own pricing page, and the table below shows each tool's pricing model next to the exact rate on file — so the comparison is between published numbers, not between marketing pages.
| Tool | Pricing model | Key pricing on file | Price checked |
|---|---|---|---|
| js-confetti | Open source | js-confetti is free open-source software released under the MIT license; the js-confetti package latest 0.13.1 on npm has no declared Node engines, published Sep 2, 2025. No paid commercial edition or per-seat license is sold by the project (data as of Nov 24, 2026). | Nov 24, 2026 |
| Canvas Confetti | Open source | Canvas Confetti is free open-source software released under the ISC License; the canvas-confetti package latest 1.9.4 on npm has no declared Node engines, published Oct 25, 2025. It renders configurable particle confetti bursts on a browser canvas with zero runtime dependencies, with no paid commercial edition sold by the project (data as of Nov 22, 2026). | Nov 22, 2026 |
| React Confetti | Open source | React Confetti is free open-source software released under the MIT license; the react-confetti package latest 6.4.0 on npm has Node engines at least 16, published Mar 4, 2025. No paid commercial edition or per-seat license is sold by the project (data as of Nov 24, 2026). | Nov 24, 2026 |
3 of these 3 entries carry a specific price we read from the vendor's site. Where the column says there is no dated price on file, we have not verified a rate — treat that as unknown rather than free, and check the vendor's page before you budget for it.
Full pricing breakdown
js-confetti's source code is publicly available, so you can run or build it yourself. The project may also sell a paid hosted or cloud plan — check the official site for current pricing.
Open source does not always mean every hosted version is free.
Key pricing: js-confetti is free open-source software released under the MIT license; the js-confetti package latest 0.13.1 on npm has no declared Node engines, published Sep 2, 2025. No paid commercial edition or per-seat license is sold by the project (data as of Nov 24, 2026).
Estimate your monthly bill with our calculator →Or build a full stack around your budget →Pricing Guides & Comparisons
Plan prices in these guides are read from each vendor's own pricing page, with the date we checked them.
⭐ Rate this tool
How would you rate this tool?
🚀 Never Miss a New AI Coding Tool
Join 1,000+ developers getting our weekly roundup: new AI tools, student free tiers, exclusive discounts, and side project deals. No spam, unsubscribe anytime.
Current Alternatives
Canvas Confetti
A small zero-dependency browser library that fires particle confetti bursts from a canvas, configurable by particle count, colors, spread, origin, duration and shape, used to celebrate completions, wins, checkouts and milestone moments in web interfaces.
React Confetti
React component that renders animated confetti on a canvas, with configurable piece count, colors, size, gravity, opacity, wind, rotation and a recycle loop, plus hooks for resize and viewport aware sizing for celebration states inside React applications.
Tool Information
- Official Websitegithub.com
- CategoryDev Workflow & Productivity
- PricingOpen Source
- Price checkedNov 24, 2026
