Measured entry

kokonut-shimmer-text

text-effectdark-futuristicmotion on file

A client-side React heading that sweeps a repeating gradient across text and fades the wrapper into place. It ships as a shadcn registry component, uses Tailwind utility classes and Motion, and imports the usual cn helper backed by clsx and tailwind-merge.

Specimen
Motion capture of the mounted demo, recorded by the harness. No audio track.
Harness screenshot of kokonut-shimmer-text at 375 pixels wide
Harness screenshot at 375 pixels wide. No horizontal overflow recorded.
Harness screenshot of kokonut-shimmer-text at 768 pixels wide
Harness screenshot at 768 pixels wide. No horizontal overflow recorded.
Harness screenshot of kokonut-shimmer-text 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 kokonut-shimmer-text
BuildOK
MountOK
Console errors0
Uncaught page errors0
Horizontal overflowclean at 375, 768, 1440
Axe critical0
Axe serious0
Axe moderate0
Axe minor0
Gzip marginal69.8 KB (135.3 KB build, 65.5 KB baseline)
Bare modeOK
Provider requiredNO
Demo usedwritten from the component source API

Verdict

A focused, working shimmer treatment with clean light and dark styling. It is easy to adopt, but the fixed heading semantics, permanent loop, rigid outer wrapper, and Motion dependency make it better as a starting point than a drop-in primitive.

Use it if

  • You need a short animated heading or hero accent on light and dark surfaces.
  • Your app already uses Tailwind and can accept Motion for a small text treatment.
  • A fixed heading element and continuously looping shimmer match the intended content hierarchy.

Skip it if

  • You need reduced-motion behavior without modifying the component.
  • The text must render as something other than a top-level heading.
  • You want to avoid adding Motion for a single decorative text effect.
  • You need control over the padded, centered outer wrapper through the public props.

Install

Installation record for kokonut-shimmer-text
Declared dependenciesmotion, clsx, tailwind-merge
Missing on installnone
Bare installbuilds and mounts without the shadcn-style helpers
Providerno provider required in the harness

In a non-shadcn project, add Motion, Tailwind CSS, and a cn utility composed from clsx and tailwind-merge. Replace the aliased utility import if your project does not map the at-sign path, and keep the component on the client side.

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