Measured entry
uilayouts-hovercard3
hover-effectspatialmotion on file
A fixed-size image card that swaps its footer for a full-card text overlay on hover. It ships as a shadcn registry TSX component styled with Tailwind classes, using React, Next.js Image, and lucide icons. The registry declares Motion, although this source does not use it.



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 | 1 |
| Uncaught page errors | 0 |
| Horizontal overflow | flagged at 375 |
| Axe critical | 0 |
| Axe serious | 0 |
| Axe moderate | 0 |
| Axe minor | 0 |
| Gzip marginal | 24.8 KB (90.2 KB build, 65.4 KB baseline) |
| Bare mode | FAIL |
| Provider required | NO |
| Demo used | written from the component source API |
What the harness recorded
CONSOLE
Failed to load resource: the server responded with a status of 404 (Not Found)
BARE BUILD
✗ Build failed in 918ms error during build: [vite]: Rollup failed to resolve import "lucide-react" from "<sandbox>re-971411d22661/src/cut/registry/components/card/hover-card3.tsx".
Verdict
It builds and mounts cleanly in both harness setups, and the automated accessibility scan found no violations. Still, the narrow-layout overflow and hover-dependent reveal make this a starting point, not a drop-in production card. Fix responsiveness, focus behavior, image ownership, and the inert action first.
Use it if
- You need a portfolio or team card with a prominent hover reveal.
- Your app already uses Tailwind and can host the remote image or replace it with a local asset.
- You are prepared to connect the Learn More button to a real destination.
Skip it if
- The card must fit narrow mobile layouts without adapting its fixed width.
- Core content must be discoverable without hover, such as on touch screens or with keyboard navigation.
- You want a framework-neutral image component with no Next.js dependency.
- A remote image request failure or externally hosted demo asset is unacceptable in production.
Install
| Declared dependencies | motion |
|---|---|
| Missing on install | none |
| Bare install | fails once the shadcn-style helpers are removed, so it needs that setup |
| Provider | no provider required in the harness |
In a non-shadcn project, add Tailwind CSS, React, Next.js Image support, and lucide-react, then copy the component and permit or replace the Unsplash image host. The registry also declares Motion, but the supplied source does not import it. Add focus-visible and touch-friendly reveal behavior yourself.
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-down3d
- Renders
- YES
- A11y
- 0
- Gzip
- 17.6KB
- 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