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.

Specimen
Motion capture of the mounted demo, recorded by the harness. No audio track.
Harness screenshot of tripled-mood-gradient-button-shadcnui at 375 pixels wide
Harness screenshot at 375 pixels wide. No horizontal overflow recorded.
Harness screenshot of tripled-mood-gradient-button-shadcnui at 768 pixels wide
Harness screenshot at 768 pixels wide. No horizontal overflow recorded.
Harness screenshot of tripled-mood-gradient-button-shadcnui at 1440 pixels wide
Harness screenshot at 1440 pixels wide. No horizontal overflow recorded.

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.

Harness measurements recorded for tripled-mood-gradient-button-shadcnui
BuildOK
MountOK
Console errors0
Uncaught page errors0
Horizontal overflowclean at 375, 768, 1440
Axe critical0
Axe serious0
Axe moderate0
Axe minor0
Gzip marginal59.2 KB (124.6 KB build, 65.4 KB baseline)
Bare modeOK
Provider requiredNO
Demo usedwritten 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

Installation record for tripled-mood-gradient-button-shadcnui
Declared dependenciesframer-motion, react
Missing on installnone
Bare installbuilds and mounts without the shadcn-style helpers
Providerno 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.

Alternatives

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.