Velocity UI
Loading…
Component

Confetti Action Button

A production-ready confetti action button component for your Next.js application. Accessible, customizable, and built with modern standards.

Theme‑aware confetti submit button with 3D tilt physics, success bloom, and animated status transitions. Built with Framer Motion and canvas‑confetti, adapts cleanly to light/dark via design tokens.

Where to use
  • Premium call-to-action sections
  • Download buttons for premium content
  • High-priority interactive elements
Props
NameTypeDefaultDescription
classNamestringCustom class names for the button.
motionPropsReact.ComponentPropsWithoutRef<typeof motion.button>Pass any Framer Motion button props (onClick, whileTap, etc.).
Context Worth Keeping In Orbit

Most components here are inspired by outstanding libraries and creators in the ecosystem. I don’t claim to be the original author — this is my space for learning, rebuilding, and understanding great work at a deeper level.

I’m still a student of the craft, constantly studying the best and translating what I learn through my own perspective. Every piece reflects curiosity, respect for the community, and small creative touches that feel true to me.

I’ve done my best to credit inspirations properly. If anything is missing or inaccurate, I truly appreciate a message so it can be corrected with care.

Install

Project Init

bash
npx vui-registry-cli-v1 init

Add Component

bash
npx vui-registry-cli-v1 add premium-button

Details

Tech Used

ReactTypeScriptFramer MotionTailwind CSS