Measured entry
tripled-mood-gradient-button-shadcnui
buttongradient-glowmotion on file
A client-side React button whose radial indigo-to-pink gradient follows the cursor with spring smoothing, plus hover and press scaling. It ships as a shadcn registry component, uses Framer Motion for animation, and expects Tailwind utilities with shadcn primary color tokens.



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 | 59.2 KB (124.6 KB build, 65.4 KB baseline) |
| Bare mode | OK |
| Provider required | NO |
| Demo used | written from the component source API |
Verdict
A focused, dependable accent button that builds and mounts cleanly, stays within its viewport, and presents no detected accessibility violations. Its cursor-tracking gradient is polished, but the narrow prop surface and mouse-led effect make it better as a special call to action than a general button primitive.
Use it if
- You want a prominent call to action with cursor-responsive color movement.
- Your React app already uses Framer Motion and Tailwind utility classes.
- You only need custom label content, an optional click handler, and class overrides.
Skip it if
- You do not want to add Framer Motion for a single button effect.
- You need the gradient interaction to respond meaningfully to touch or keyboard input.
- You need a reusable button primitive with native props such as disabled, type, or form attributes exposed directly.
Install
| Declared dependencies | framer-motion, react |
|---|---|
| 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 Framer Motion, configure Tailwind or replace the utility classes with local CSS, and define equivalents for the primary color and foreground tokens. Place it in a client-rendered module.
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/moumen-soliman/uitripledAlternatives
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
- ruixen-glass-ai-cardliquid-glass
- Renders
- YES
- A11y
- 0
- Gzip
- 59.5KB
- Bare
- pass
- Prov
- NO
- ruixen-add-to-cart-buttonunclassified
- Renders
- YES
- A11y
- 0
- Gzip
- 60.4KB
- Bare
- pass
- Prov
- NO