Measured entry

kokonut-sliced-text

text-effectdark-futuristicmotion on file

A client-side React text treatment distributed through a shadcn registry. It stacks clipped copies of the same label, offsets the halves, and reunites them on hover with Motion. Styling uses Tailwind utilities, while its cn helper relies on clsx and tailwind-merge.

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

Verdict

A focused, reusable hover flourish that builds and mounts cleanly across the tested layouts. It is best treated as decorative UI: add focus and touch behavior, plus accessible handling for the repeated text, before using it for meaningful content.

Use it if

  • You need a compact hover accent for a short hero label, campaign title, or navigation feature.
  • Your React interface already uses Tailwind and can absorb Motion for a small interaction.
  • You want the text, split spacing, and surrounding classes exposed as simple props.

Skip it if

  • The effect must respond equivalently to keyboard focus or touch without modifying the component.
  • The label is critical semantic content and you cannot hide the duplicate visual copies from assistive technology.
  • Adding Motion is not justified for a single decorative text interaction.

Install

Installation record for kokonut-sliced-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, install Motion, clsx, and tailwind-merge; provide a compatible cn utility; ensure Tailwind processes the component classes; and replace the registry path alias with a local import if 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 text-effect pattern, ordered by what they measured: mounts first, then clean axe scans, then bare-mode passes, then the smaller bundle.