Measured entry

tripled-new-hero-section-shadcnui

hero-effectgradient-glowmotion on file

A centered React hero block with a gradient wash, staged entrance motion, two call-to-action buttons, and a continuously floating stats row. It ships as a client component and relies on Framer Motion, Lucide icons, a shadcn Button, Radix-backed button dependencies, Tailwind utilities, and shadcn theme tokens.

Specimen
Motion capture of the mounted demo, recorded by the harness. No audio track.
Harness screenshot of tripled-new-hero-section-shadcnui at 375 pixels wide
Harness screenshot at 375 pixels wide. No horizontal overflow recorded.
Harness screenshot of tripled-new-hero-section-shadcnui at 768 pixels wide
Harness screenshot at 768 pixels wide. No horizontal overflow recorded.
Harness screenshot of tripled-new-hero-section-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-new-hero-section-shadcnui
BuildOK
MountOK
Console errors0
Uncaught page errors0
Horizontal overflowclean at 375, 768, 1440
Axe critical0
Axe serious0
Axe moderate0
Axe minor0
Gzip marginal70.5 KB (135.9 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
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 serviceable, generic hero for an existing shadcn app, with clear hierarchy and restrained styling. It needs a shadcn-style setup to build and mount, and the clipped stat labels on narrow screens need a responsive layout fix before production use.

Use it if

  • You need a conventional product or agency hero with a badge, short pitch, paired actions, and proof stats.
  • Your app already uses shadcn conventions and can absorb Framer Motion for a prominent landing-page section.
  • You are prepared to replace the placeholder copy, claims, and button behavior before shipping.

Skip it if

  • You need a dependency-light static hero and do not otherwise use Framer Motion.
  • Your narrow layout must preserve every stats label, since the outer labels are visibly clipped on the compact rendering.
  • You require working navigation out of the box, since both calls to action are plain buttons without destinations or handlers.
  • Your motion policy forbids an indefinitely floating content row or requires explicit reduced-motion handling.

Install

Installation record for tripled-new-hero-section-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 shadcn-compatible Button and its Radix dependency, the path alias and lib utility it imports, Tailwind with the expected color tokens, Framer Motion, and Lucide React. Replace the token classes or Button import if your design system uses different primitives.

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