particle: (optional) URL for custom particle image
size: (optional) Size of the particle
speedHorz: (optional) Horizontal speed of the particle
speedUp: (optional) Upward speed of the particle
// Code example using all props for Coolmode<ClickFusioneffect="coolmode"particleOptions={{
particle:'customParticleImgURL',
size:40,
speedHorz:5,
speedUp:10}}><button>
Click Me for Cool Effect!
</button></ClickFusion>
particle: (optional) URL for custom particle image
size: (optional) Size of the particle
speedDown: (optional) Downward speed of the particle
particleCount: (optional) Number of particles
// Code example using all props for Rainmode<ClickFusioneffect="rainmode"particleOptions={{
particle:'customParticleImgURL',
size:50,
speedDown:5,
particleCount:30}}><button>
Click Me for Rain Effect!
</button></ClickFusion>
// Code example using all props for Partymode<ClickFusioneffect="partymode"particleOptions={{
size:20,
particleCount:45}}><button>
Click Me for Party Effect!
</button></ClickFusion>
color: (optional) Color of the particles “light” | “dark”
// Code example using all props for Code Mode<ClickFusioneffect="codemode"particleOptions={{
particleCount:40,
size:10,
color:'light'}}><button>
Click Me for Code Falling Effect!
</button></ClickFusion>
speedDown: (optional) Downward speed of the particles
color: (optional) Color mode of the particles “red”, “orange”, “yellow”, “green”, “blue”, “purple”
// Code example using all props for Confetti Mode<ClickFusioneffect="confettimode"particleOptions={{
particleCount:100,
speedDown:5,
color:'purple'}}><button>
Click Me for Confetti Effect!
</button></ClickFusion>
color: (optional) Background color of the draggable area, “light” | “dark”
// Code example using all props for Drag Mode<ClickFusioneffect="dragmode"particleOptions={{
width:400,
height:400,
color:'light'}}><button>
Drag Me!
</button></ClickFusion>
For more advanced usage and examples, please refer to the GitHub Repository.