Measured entry

tripled-glassmorphism-cta-block-shadcnui

ctaglassmorphismmotion on file

A centered glass-effect call-to-action section shipped as a shadcn registry block and React client component. It composes shadcn Card and Button primitives with Tailwind theme tokens and utility classes. The registry declares React and Framer Motion, although the component itself contains no motion code.

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

Verdict

A polished starting point for an existing shadcn site, but not a portable standalone block. It needs a shadcn-style setup to build and mount, requires narrow-screen layout tuning, and carries a declared motion dependency without using it.

Use it if

  • You already use shadcn primitives and want a prominent trial-and-sales call to action.
  • Your design system provides the background, foreground, border, and muted color tokens used by the block.
  • You are prepared to replace the placeholder copy and wire both buttons to real actions.

Skip it if

  • You need a drop-in component for a React project without shadcn aliases, primitives, and utilities.
  • Your page must avoid horizontal overflow on narrow phone layouts without additional responsive tuning.
  • You expect an animated call to action, since the shipped component does not use its declared motion dependency.
  • You want a lean dependency surface and do not otherwise need the declared motion package.

Install

Installation record for tripled-glassmorphism-cta-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 Tailwind with matching theme tokens, create compatible Card and Button primitives, configure the at-sign source alias, and provide the shared class-name utility imported by those primitives. Install the declared React and Framer Motion dependencies, or remove Framer Motion from the registry metadata if animation is not added.

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.