Measured entry

tripled-glassmorphism-minimal-metrics-block-shadcnui

ctaglassmorphismmotion on file

A client-side metrics and CTA section with frosted cards, viewport-triggered entrances, hover movement, and fixed sample copy. It ships as a shadcn registry block and composes Badge, Button, and Card primitives, with Framer Motion for animation and Lucide for icons.

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

Verdict

A credible drop-in for an existing shadcn site, with responsive layout, restrained motion, and a clear CTA rhythm. It needs a shadcn-style setup and does not mount in a bare project, so adoption elsewhere requires deliberate plumbing.

Use it if

  • You need a polished metrics summary followed by a single lead-generation action.
  • Your product already uses shadcn conventions and matching theme tokens.
  • Scroll-triggered motion and glass surfaces fit the visual language of the page.

Skip it if

  • You need live data wiring, because every metric and label is embedded in the component.
  • You want a lightweight static section without an animation runtime.
  • Your design system does not provide shadcn-style primitives, aliases, and theme tokens.
  • The CTA must work immediately, because the supplied button has no destination or handler.

Install

Installation record for tripled-glassmorphism-minimal-metrics-block-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 the Badge, Button, and Card primitives, the shared class-name utility at the expected alias, compatible Tailwind theme tokens and backdrop styles, plus Framer Motion and Lucide React. Mark the component for client rendering and replace its fixed copy and inert CTA.

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 cta pattern, ordered by what they measured: mounts first, then clean axe scans, then bare-mode passes, then the smaller bundle.