Measured entry

tripled-cta-block-shadcnui

ctagradient-glowmotion on file

A client-side call-to-action card shipped as a shadcn registry block. It combines a responsive Tailwind layout, themed Card and Button primitives, viewport-triggered Framer Motion entrances, and Lucide icons. It depends on React, the shadcn import convention and theme tokens, plus the supporting Radix-based UI setup.

Specimen
Motion capture of the mounted demo, recorded by the harness. No audio track.
Harness screenshot of tripled-cta-block-shadcnui at 375 pixels wide
Harness screenshot at 375 pixels wide. No horizontal overflow recorded.
Harness screenshot of tripled-cta-block-shadcnui at 768 pixels wide
Harness screenshot at 768 pixels wide. No horizontal overflow recorded.
Harness screenshot of tripled-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-cta-block-shadcnui
BuildOK
MountOK
Console errors0
Uncaught page errors0
Horizontal overflowclean at 375, 768, 1440
Axe critical0
Axe serious0
Axe moderate0
Axe minor0
Gzip marginal70.3 KB (135.7 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 2m 8s
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 solid, responsive CTA for an existing shadcn codebase, with clean mounting and no detected accessibility or overflow issues. It needs a shadcn-style setup: the bare build fails because the supplied button resolves an absent utility module. Budget for replacing the placeholder copy and wiring both actions.

Use it if

  • You already use shadcn conventions and want a centered CTA with primary and secondary actions.
  • You want restrained entrance animation that runs when the section enters the viewport.
  • Your design system exposes the expected card, button, color-token, and responsive utility classes.

Skip it if

  • Your project does not use Tailwind or shadcn-style aliases and you do not want to recreate that infrastructure.
  • You need real links or form behavior out of the box, since both actions are presentation-only buttons.
  • You want a lightweight static CTA without Framer Motion and icon-library dependencies.
  • Your accessibility policy requires reduced-motion handling to be explicit in the component source.

Install

Installation record for tripled-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 the at-sign source alias, the shared class-name utility used by the button, compatible Button and Card primitives, Tailwind utilities and theme variables, plus React, Framer Motion, Lucide React, and the Radix support required by those primitives. Then wire the buttons to real destinations and add your preferred reduced-motion treatment.

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.