Measured entry

uilayouts-btn-hover-down

hover-effect3dmotion on file

A client-side React button with a pressed-down hover effect made from Tailwind utility classes, including arbitrary transforms, shadows, gradients, and dark-mode variants. It ships as a single TSX component with no package or provider 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-down at 375 pixels wide
Harness screenshot at 375 pixels wide. No horizontal overflow recorded.
Harness screenshot of uilayouts-btn-hover-down at 768 pixels wide
Harness screenshot at 768 pixels wide. No horizontal overflow recorded.
Harness screenshot of uilayouts-btn-hover-down 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-down
BuildOK
MountOK
Console errors0
Uncaught page errors0
Horizontal overflowclean at 375, 768, 1440
Axe critical0
Axe serious0
Axe moderate0
Axe minor0
Gzip marginal17.6 KB (83.0 KB build, 65.4 KB baseline)
Bare modeOK
Provider requiredNO
Demo usedwritten from the component source API

Verdict

A dependable visual snippet that builds, mounts, and stays contained across the tested layouts. The native control is a good base, but this exact component is not reusable as shipped because its text is fixed and it exposes no props. Best treated as editable source, not a finished design-system button.

Use it if

  • You want a compact, tactile call-to-action with a native button element.
  • Your project already uses Tailwind and can include the component file in its content scan.
  • You are comfortable editing the source to match your label, colors, and click behavior.

Skip it if

  • You need a reusable button API that accepts children, variants, event handlers, or standard button props.
  • Your design system avoids hard-coded colors, shadows, and dark-mode styling.
  • You need the component to work without Tailwind or a build step that understands its utility syntax.

Install

Installation record for uilayouts-btn-hover-down
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 project, copy the TSX component into the app, ensure React client components are supported, and add Tailwind with content scanning for that file. The Tailwind setup must support the gradient, dark-mode, arbitrary transform, border, and box-shadow utilities used here. No extra package or context provider is required.

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-13

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.