A React button that bursts confetti from itself on click, with gravity, drag and spin on a temporary canvas. No library, and skipped for reduced motion.
npx shadcn@latest add @minidev/confetti-button
Loading the source for confetti-button…
Registry Items
confetti-button
Configuration
Name
confetti-button
Type
Component
Description
A React button that bursts confetti from itself on click, with gravity, drag and spin on a temporary canvas. No library, and skipped for reduced motion.
Files · 1
Dependencies
npm packages
lucide-react
motion
Registry Items
confetti-button
Configuration
Name
confetti-button
Type
Component
Description
A React button that bursts confetti from itself on click, with gravity, drag and spin on a temporary canvas. No library, and skipped for reduced motion.