jsConfetti
Add celebratory confetti effects to your website with jsConfetti! This lightweight JavaScript library lets you create exciting confetti animations, perfect for enhancing user engagement on special occasions or important actions. With simple setup, robust customization options, and compatibility with modern browsers, jsConfetti is your go-to solution for making your website fun and interactive.
Features
- Lightweight and Efficient: Integrates easily without impacting performance.
- Multiple Effects: Choose from various effects like bursts, fountains, snow, and more.
- Customizable: Customize particle counts, colors, shapes, and durations to suit your needs.
- Mobile-Friendly: Responsive and compatible with touch devices.
- Cross-Browser Support: Works seamlessly on all modern browsers.
- Simple Integration: Easy to use with minimal setup and no external dependencies.
Installation and Setup
To add jsConfetti to your website, follow these steps:
- Download the jsConfetti library from here.
- Include the jsConfetti script in your project:
- Trigger effects with a button click or on page load using the following code:
<script src="path-to/jsConfetti.min.js"></script>
// Button click
<button onclick="burstExplosion()">Burst Explosion</button>
function burstExplosion() {
confetti({ particleCount: 200, spread: 70, startVelocity: 60, origin: { y: 0.6 } });
}
// Page load
window.onload = function() {
burstExplosion();
};
Pricing
The jsConfetti library is available for just $19.95. Purchase a license to unlock the full range of customizable confetti effects and make your website more engaging.
License Type |
Price |
Download |
---|---|---|
Single-Site License |
$19.95 |
Buy Now |