Measured entry

tripled-preview-details-card-shadcnui

scroll-effectminimal-flatmotion on file

A client-rendered link card that reveals owner, status, and update metadata on hover or keyboard focus. It ships as a shadcn registry component built with React, Framer Motion, Lucide icons, Tailwind utility classes, and shadcn-style theme variables; its link target and sample details are placeholders.

Specimen
Motion capture of the mounted demo, recorded by the harness. No audio track.
Harness screenshot of tripled-preview-details-card-shadcnui at 375 pixels wide
Harness screenshot at 375 pixels wide. No horizontal overflow recorded.
Harness screenshot of tripled-preview-details-card-shadcnui at 768 pixels wide
Harness screenshot at 768 pixels wide. No horizontal overflow recorded.
Harness screenshot of tripled-preview-details-card-shadcnui 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 tripled-preview-details-card-shadcnui
BuildOK
MountOK
Console errors0
Uncaught page errors0
Horizontal overflowclean at 375, 768, 1440
Axe critical0
Axe serious1
Axe moderate0
Axe minor0
Gzip marginal61.9 KB (127.3 KB build, 65.4 KB baseline)
Bare modeFAIL
Provider requiredNO
Demo usedwritten from the component source API

What the harness recorded

BARE BUILD

✗ Build failed in 807ms
error during build:
[vite]: Rollup failed to resolve import "lucide-react" from "<sandbox>re-e25c2dcc09f9/src/cut/components/uitripled/preview-details-card-shadcnui.tsx".

Verdict

A polished, responsive disclosure pattern with sensible keyboard and reduced-motion handling, but it is mislabeled as a scroll effect. Fix the text contrast, replace the placeholder link and data, and weigh the animation dependency before adopting it.

Use it if

  • You need a compact preview before users open a workspace or project record.
  • Your interface supports both pointer hover and keyboard focus for disclosure.
  • Framer Motion is already part of your client bundle and reduced-motion behavior matters.

Skip it if

  • You need an actual scroll-triggered effect rather than a hover and focus reveal.
  • You want a lightweight card without adding an animation runtime.
  • You require the supplied palette to pass a strict accessibility review without adjustment.
  • You need a production-ready destination and live record data out of the box.

Install

Installation record for tripled-preview-details-card-shadcnui
Declared dependenciesframer-motion, react
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, add React, Framer Motion, and Lucide React; enable client-side rendering; configure Tailwind for the utility classes; and define the border, card, primary, muted foreground, and background theme tokens. Supply real data and a real link target, then adjust the muted text colors for contrast.

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.

Alternatives

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