Measured entry
ruixen-confetti-button
buttonliquid-glassmotion on file
A client-side React celebration button shipped as a shadcn registry item. It embeds its liquid-glass styles, generates confetti particles on each click, and can play a short synthesized sound. It depends on React, Motion, and the browser audio API, with no provider required.



Measured
Every value below was written by the harness on the run that produced the frames above. None of it is derived from the prose.
| Build | OK |
|---|---|
| Mount | OK |
| Console errors | 0 |
| Uncaught page errors | 0 |
| Horizontal overflow | clean at 375, 768, 1440 |
| Axe critical | 0 |
| Axe serious | 0 |
| Axe moderate | 0 |
| Axe minor | 0 |
| Gzip marginal | 60.4 KB (125.8 KB build, 65.4 KB baseline) |
| Bare mode | OK |
| Provider required | NO |
| Demo used | written from the component source API |
Verdict
A focused, portable celebration control that builds and mounts cleanly without a provider. The embedded styling makes adoption easy, but teams should add reduced-motion behavior and an explicit button type before using it broadly in forms.
Use it if
- You need a celebratory call to action for a successful submission, reward, or milestone.
- You want a self-contained button whose label, click callback, sound, and inline style can be customized.
- Your interface already uses Motion or can justify adding it for animated feedback.
Skip it if
- You need reduced-motion handling built into the component rather than adding it yourself.
- The button will sit inside forms and you cannot add an explicit button type to prevent accidental submission.
- Your product avoids decorative audio or cannot rely on the browser audio API.
- You want a minimal interaction without adding Motion for a single control.
Install
| Declared dependencies | motion |
|---|---|
| Missing on install | none |
| Bare install | builds and mounts without the shadcn-style helpers |
| Provider | no provider required in the harness |
In a non-shadcn React project, install Motion, copy the component file, and keep it in a client-rendered boundary. No shared utility helpers, theme provider, or external stylesheet are required. Add an explicit button type and adapt the dark-theme selectors if your app uses different theme hooks.
Source and credit
This page is a review, not a copy. The component source lives with its author and this site does not republish it. Read the license before you use anything.
Author repository
github.com/ruixenui/ruixen.comAlternatives
Other published entries for the button pattern, ordered by what they measured: mounts first, then clean axe scans, then bare-mode passes, then the smaller bundle.
- neu-buttonneumorphism
- Renders
- YES
- A11y
- 0
- Gzip
- 17.8KB
- Bare
- pass
- Prov
- NO
- clay-buttonclaymorphism
- Renders
- YES
- A11y
- 0
- Gzip
- 18.2KB
- Bare
- pass
- Prov
- NO
- tripled-animated-radio-shadcnuiminimal-flat
- Renders
- YES
- A11y
- 0
- Gzip
- 58.2KB
- Bare
- pass
- Prov
- NO
- ruixen-glow-link-buttonliquid-glass
- Renders
- YES
- A11y
- 0
- Gzip
- 58.9KB
- Bare
- pass
- Prov
- NO
- tripled-mood-gradient-button-shadcnuigradient-glow
- Renders
- YES
- A11y
- 0
- Gzip
- 59.2KB
- Bare
- pass
- Prov
- NO
- ruixen-glass-ai-cardliquid-glass
- Renders
- YES
- A11y
- 0
- Gzip
- 59.5KB
- Bare
- pass
- Prov
- NO