Gathering detailed insights and metrics for react-confetti-boom
Gathering detailed insights and metrics for react-confetti-boom
Gathering detailed insights and metrics for react-confetti-boom
Gathering detailed insights and metrics for react-confetti-boom
🎉 Add a fun and engaging confetti effect to your app with just a few lines of code.
npm install react-confetti-boom
Typescript
Module System
Min. Node Version
Node Version
NPM Version
83.4
Supply Chain
90.2
Quality
79.5
Maintenance
100
Vulnerability
100
License
TypeScript (85.39%)
JavaScript (9.66%)
HTML (2.72%)
CSS (1.38%)
SCSS (0.86%)
Total Downloads
253,105
Last Day
350
Last Week
10,017
Last Month
39,653
Last Year
225,691
80 Stars
50 Commits
1 Forks
1 Watchers
5 Branches
1 Contributors
Updated on Jul 31, 2025
Latest Version
2.0.1
Package Id
react-confetti-boom@2.0.1
Unpacked Size
31.54 kB
Size
6.68 kB
File Count
9
NPM Version
8.19.4
Node Version
16.20.2
Published on
May 29, 2025
Cumulative downloads
Total Downloads
Last Day
-23.4%
350
Compared to previous day
Last Week
11.6%
10,017
Compared to previous week
Last Month
13.5%
39,653
Compared to previous month
Last Year
740.4%
225,691
Compared to previous year
20
🚀 Bring Joy and Celebration to Your React App! Dive into a world of vibrant animations with React Confetti Boom, the ultimate confetti component for React developers.
![]() | ![]() |
---|
React Confetti Boom offers a lightweight, flexible, and easy-to-use solution to add a touch of celebration to your application. Whether it's celebrating a user achievement, a special event, or adding fun interactions, our confetti animation component will bring your React application to life.
1npm install react-confetti-boom
Just a few lines to create an unforgettable moment:
1import Confetti from 'react-confetti-boom'; 2 3function MyApp() { 4 return <Confetti />; 5}
Experience the magic firsthand and customize the confetti to your liking: Live Demo
Fine-tune the celebration with our comprehensive props:
Name | Type | Default | Description |
---|---|---|---|
mode | 'boom' | 'fall' | 'boom' | Mode for confetti animation. 'boom' for explosion-like, 'fall' for rain-like effect |
x | number | 0.5 | Horizontal starting position of confetti as a ratio of canvas width (0 to 1) |
y | number | 0.5 | Vertical starting position of confetti as a ratio of canvas height (0 to 1) |
particleCount | number | 30 | Number of confetti particles to generate |
deg | number | 270 | Initial angle (in degrees) at which particles are emitted |
shapeSize | number | 12 | Size of confetti particles |
spreadDeg | number | 30 | Angle (in degrees) that particles can deviate from the initial angle (deg) |
effectInterval | number | 3000 | Interval (in ms) between consecutive confetti bursts |
effectCount | number | 1 | Number of confetti bursts to render |
colors | string[] | ['#ff577f', '#ff884b', '#ffd384', '#fff9b0'] | Array of colors for confetti particles, in hex format |
launchSpeed | number | 1 | Initial speed at which particles are launched |
fadeOutHeight | number | 0.8 | Height ratio (0 to 1) where particles completely disappear in 'fall' mode (added in v1.1.0) |
opacityDeltaMultiplier | number | 1 | Multiplier for particle opacity fade speed in 'boom' mode (added in v2.0.0) |
1<Confetti mode="boom" particleCount={50} colors={['#ff577f', '#ff884b']} />
Celebrate achievements with a burst of color!
Loving React Confetti Boom? Here's how you can help us make the project even better!
Let's celebrate coding, one confetti burst at a time! 🎉
Proudly open-sourced under the MIT License.
No vulnerabilities found.