Measured entry

tripled-auto-revealing-heading-shadcnui

badgeminimal-flatmotion on file

A client-side React text revealer that splits supplied copy by word or letter and animates each segment when the block enters view. It ships as a shadcn registry source file, but uses no shadcn primitives or provider. It depends on React and Framer Motion, with one Tailwind utility class.

Specimen
Motion capture of the mounted demo, recorded by the harness. No audio track.
Harness screenshot of tripled-auto-revealing-heading-shadcnui at 375 pixels wide
Harness screenshot at 375 pixels wide. No horizontal overflow recorded.
Harness screenshot of tripled-auto-revealing-heading-shadcnui at 768 pixels wide
Harness screenshot at 768 pixels wide. No horizontal overflow recorded.
Harness screenshot of tripled-auto-revealing-heading-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-auto-revealing-heading-shadcnui
BuildOK
MountOK
Console errors0
Uncaught page errors0
Horizontal overflowclean at 375, 768, 1440
Axe critical0
Axe serious0
Axe moderate0
Axe minor0
Gzip marginal58.3 KB (123.7 KB build, 65.4 KB baseline)
Bare modeOK
Provider requiredNO
Demo usedwritten from the component source API

Verdict

A focused, working reveal effect with straightforward props and no provider requirement. It is easy to transplant, but the div output, absent reduced-motion handling, and Framer Motion cost mean teams should wrap or revise it before treating it as a production heading.

Use it if

  • You want a one-time entrance treatment for a short hero or section heading.
  • Your app already uses Framer Motion and can absorb another motion component.
  • You need configurable word-by-word or letter-by-letter reveal timing.

Skip it if

  • You need the component itself to render a semantic heading element; it returns a div.
  • Your motion policy requires an explicit reduced-motion fallback.
  • You want a badge component, since this registry item is animated display text despite its queue classification.
  • You are avoiding Framer Motion for a small decorative effect.

Install

Installation record for tripled-auto-revealing-heading-shadcnui
Declared dependenciesframer-motion, react
Missing on installnone
Bare installbuilds and mounts without the shadcn-style helpers
Providerno provider required in the harness

Install React and Framer Motion, copy the client component into your project, and keep it behind a client boundary where required. Non-Tailwind projects should replace the inline-block utility with equivalent CSS. No shadcn provider, theme package, or registry runtime is needed.

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