Dev Design Library

Confetti Button

A click pops confetti; hold it and the fuse burns until the whole thing blows.

Confetti Button preview
Library
UI Lab
Framework
React
Type
component
License
MIT
Install
npx shadcn@latest add https://lab.xevrion.dev/r/confetti-button.json
Files
  • src/lab/components/confetti-button.tsx
  • src/lib/use-reduced-motion.ts
  • src/lib/cn.ts
  • src/lab/preview-play.ts
Source
https://github.com/xevrion/ui-lab

Categories

More from UI Lab