Measured entry

uilayouts-btn-hover-multiple

hover-effectgradient-glowmotion on file

A client-side React button shipped as a shadcn registry component. It uses Tailwind utility classes and arbitrary box-shadow values to slide a pill-shaped face over stacked colored shadows on hover. It has no package dependencies, but its label and styling are fixed in the source.

Specimen
Motion capture of the mounted demo, recorded by the harness. No audio track.
Harness screenshot of uilayouts-btn-hover-multiple at 375 pixels wide
Harness screenshot at 375 pixels wide. No horizontal overflow recorded.
Harness screenshot of uilayouts-btn-hover-multiple at 768 pixels wide
Harness screenshot at 768 pixels wide. No horizontal overflow recorded.
Harness screenshot of uilayouts-btn-hover-multiple 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 uilayouts-btn-hover-multiple
BuildOK
MountOK
Console errors0
Uncaught page errors0
Horizontal overflowclean at 375, 768, 1440
Axe critical0
Axe serious0
Axe moderate0
Axe minor0
Gzip marginal17.9 KB (83.3 KB build, 65.4 KB baseline)
Bare modeOK
Provider requiredNO
Demo usedwritten from the component source API

Verdict

A dependable one-off effect with a compact, readable source and clean verified behavior. The hardcoded copy and lack of a props API keep it from being a true shared button, so treat it as a starting point and add focus, form, and interaction behavior to match your product.

Use it if

  • You need a prominent contact or campaign call to action with a playful layered hover treatment.
  • Your app already uses Tailwind and can accommodate a one-off button rather than a shared design-system primitive.
  • You are comfortable adapting the fixed label, colors, click behavior, and button semantics in the component source.

Skip it if

  • You need a reusable button API with children, variants, disabled or loading states, and event props.
  • Your interface needs the visual treatment to respond equally to keyboard focus or touch, since the stacked movement is hover-driven.
  • The button will sit inside a form unless you are prepared to add an explicit type and submit behavior.
  • Your project does not use Tailwind or disallows arbitrary utility values.

Install

Installation record for uilayouts-btn-hover-multiple
Declared dependenciesnone declared
Missing on installnone
Bare installbuilds and mounts without the shadcn-style helpers
Providerno provider required in the harness

In a non-shadcn React project, copy the component into your source tree, enable Tailwind processing for that path, and ensure your Tailwind version supports the gradient and arbitrary shadow utilities used here. Add your own click handling, configurable content, focus treatment, and an explicit button type.

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.

License
MIT
Record published
2026-08-14

Alternatives

Other published entries for the hover-effect pattern, ordered by what they measured: mounts first, then clean axe scans, then bare-mode passes, then the smaller bundle.