Measured entry

uilayouts-hovercard4

hover-effectdark-futuristicmotion on file

A static editorial card distributed as a shadcn registry TSX file. It pairs a remote Unsplash image with fixed article copy and a hover transition on the image and arrow icon. The source relies on React, Tailwind utility classes, Next.js Image, and Lucide icons; Motion is declared by the registry but not imported.

Specimen
Motion capture of the mounted demo, recorded by the harness. No audio track.
Harness screenshot of uilayouts-hovercard4 at 375 pixels wide
Harness screenshot at 375 pixels wide. No horizontal overflow recorded.
Harness screenshot of uilayouts-hovercard4 at 768 pixels wide
Harness screenshot at 768 pixels wide. No horizontal overflow recorded.
Harness screenshot of uilayouts-hovercard4 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-hovercard4
BuildOK
MountOK
Console errors1
Uncaught page errors0
Horizontal overflowclean at 375, 768, 1440
Axe critical0
Axe serious1
Axe moderate0
Axe minor0
Gzip marginal24.8 KB (90.2 KB build, 65.4 KB baseline)
Bare modeFAIL
Provider requiredNO
Demo usedwritten 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 915ms
error during build:
[vite]: Rollup failed to resolve import "lucide-react" from "<sandbox>re-f0bc004c51cf/src/cut/registry/components/card/hover-card4.tsx".

Verdict

A usable starting point for a Next.js editorial card, but it is closer to a fixed example than a reusable component. Adopt it only if you will parameterize the content, correct the color contrast, and verify the remote image request.

Use it if

  • You need a compact image-led story card for a Next.js and Tailwind interface.
  • You are comfortable replacing fixed copy, link destination, and image in the component source.
  • Your design can accommodate an interaction whose visual flourish is triggered by pointer hover.

Skip it if

  • You need a reusable card driven by props, since the supplied component ignores external title and child content.
  • Your project does not use Next.js and you do not want to replace its image component.
  • You require accessible colors without adjustment, since the tested styling has a contrast issue.
  • You want a self-contained asset with no remote image host or related configuration.

Install

Installation record for uilayouts-hovercard4
Declared dependenciesmotion
Missing on installnone
Bare installfails once the shadcn-style helpers are removed, so it needs that setup
Providerno provider required in the harness

In a non-shadcn project, copy the component file, enable Tailwind utilities, add Lucide React and the declared Motion package, and provide React. Use Next.js Image with the Unsplash host allowed in image configuration, or replace it with your framework's image element. Motion can be omitted unless you add Motion-based behavior.

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.