Skip to content

Add ConfettiButton with celebration pop on click#29

Closed
radiumcoders wants to merge 2 commits into
mainfrom
add-mouse-lock-button
Closed

Add ConfettiButton with celebration pop on click#29
radiumcoders wants to merge 2 commits into
mainfrom
add-mouse-lock-button

Conversation

@radiumcoders

@radiumcoders radiumcoders commented Jul 1, 2026

Copy link
Copy Markdown
Owner

Summary

Adds ConfettiButton - a normal shadcn button that pops on click and fires a confetti celebration burst.

Behavior

  • Default shadcn Button styling
  • Spring pop animation on each click
  • Confetti erupts from the button via canvas-confetti
  • Respects reduced-motion preferences

Also fixes Vercel CI

Adds pnpm-workspace.yaml with allowBuilds so pnpm install succeeds on Vercel with pnpm 11.

Test plan

  • pnpm registry:build and pnpm registry:test pass
  • pnpm typecheck and pnpm build pass

Introduces a warning button that blocks all mouse/pointer events across the page for five seconds after being clicked, with a full-screen countdown overlay. Includes docs, registry entry, and landing page showcase.
@vercel

vercel Bot commented Jul 1, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
evil-buttons Error Error Jul 1, 2026 11:00am

Adds a normal shadcn button that pops on click and fires a canvas-confetti burst. Fixes the Motion spring runtime error by using a two-step spring animation instead of multi-keyframe scale values.
@radiumcoders radiumcoders changed the title Add MouseLockButton that disables pointer input for 5 seconds Add ConfettiButton with celebration pop on click Jul 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant