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.



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 | 17.6 KB (83.0 KB build, 65.4 KB baseline) |
| Bare mode | OK |
| Provider required | NO |
| Demo used | written 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
| Declared dependencies | none declared |
|---|---|
| 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 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.
Author repository
github.com/ui-layouts/uilayoutsAlternatives
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.
- eldora-card-flip-hover3d
- Renders
- YES
- A11y
- 0
- Gzip
- 17.5KB
- Bare
- pass
- Prov
- NO
- uilayouts-btn-hover-left-flip3d
- Renders
- YES
- A11y
- 0
- Gzip
- 17.5KB
- Bare
- pass
- Prov
- NO
- uilayouts-btn-hover-multiplegradient-glow
- Renders
- YES
- A11y
- 0
- Gzip
- 17.9KB
- Bare
- pass
- Prov
- NO
- magicui-cool-modespatial
- Renders
- YES
- A11y
- 0
- Gzip
- 21.8KB
- Bare
- pass
- Prov
- NO
- uilayouts-hovercard2gradient-glow
- Renders
- YES
- A11y
- 0
- Gzip
- 24.0KB
- Bare
- pass
- Prov
- NO
- fancy-drag-elementsspatial
- Renders
- YES
- A11y
- 0
- Gzip
- 58.1KB
- Bare
- pass
- Prov
- NO