Measured entry

tripled-glassmorphism-statistics-card-shadcnui

scroll-effectglassmorphismmotion on file

A client-side athlete profile card that reveals a compact statistics grid on hover, with an image loading placeholder, glass-like overlay, and Framer Motion transitions. It ships as a shadcn registry component and relies on React, the shadcn Card primitive, Lucide icons, Tailwind theme tokens, and Framer Motion.

Specimen
Motion capture of the mounted demo, recorded by the harness. No audio track.
Harness screenshot of tripled-glassmorphism-statistics-card-shadcnui at 375 pixels wide
Harness screenshot at 375 pixels wide. No horizontal overflow recorded.
Harness screenshot of tripled-glassmorphism-statistics-card-shadcnui at 768 pixels wide
Harness screenshot at 768 pixels wide. No horizontal overflow recorded.
Harness screenshot of tripled-glassmorphism-statistics-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-glassmorphism-statistics-card-shadcnui
BuildOK
MountOK
Console errors0
Uncaught page errors0
Horizontal overflowclean at 375, 768, 1440
Axe critical0
Axe serious0
Axe moderate0
Axe minor0
Gzip marginal68.7 KB (134.1 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 1m 5s
error during build:
[vite:load-fallback] Could not load <sandbox>/src/lib/utils (imported by src/components/ui/card.tsx): ENOENT: no such file or directory, open '<sandbox>/src/lib/utils'

Verdict

A polished, focused card for pointer-led profile showcases, and the verified build and mount are clean. The hidden-on-hover metrics weaken it for touch and keyboard contexts. It needs a shadcn-style setup; a bare React project fails because the Card primitive expects the usual local utility module.

Use it if

  • You need a visually prominent profile or achievement card whose secondary metrics can stay hidden until pointer interaction.
  • Your app already uses shadcn conventions, Tailwind theme tokens, Lucide icons, and Framer Motion.
  • You can replace the bundled athlete content and remote image with product-owned data and media.

Skip it if

  • The statistics must remain discoverable on touch devices or for keyboard users, because the reveal is driven by hover state.
  • You want a lightweight static summary and do not otherwise need Framer Motion.
  • Your design system does not provide shadcn-style path aliases, Card primitives, and theme tokens.
  • Remote Unsplash imagery is unsuitable for your privacy, reliability, or asset-governance requirements.

Install

Installation record for tripled-glassmorphism-statistics-card-shadcnui
Declared dependenciesframer-motion, react, radix-ui
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 Tailwind with the referenced color and spacing tokens, configure the at-sign source alias, provide the Card primitive and its local class-name utility, and install React, Framer Motion, and Lucide React. Also replace the sample content and remote image, and add a focus or always-visible path for the statistics.

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.