Measured entry

cultui-typewriter

text-effectdark-futuristicmotion on file

A client-side React typewriter that reveals an optional lead-in, cycles through supplied phrases, and renders a blinking cursor. It ships as a shadcn registry source file rather than a package, imports Motion for animation state, and uses Tailwind utility classes for the cursor.

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

Verdict

It builds, mounts, and renders cleanly at every tested viewport without framework scaffolding. The effect is usable when Motion is already justified, but tune its timing carefully and add empty-list and reduced-motion handling before treating it as production-ready.

Use it if

  • You want a looping phrase rotator inside a short hero heading or prompt.
  • Your app already uses Motion and Tailwind, so the extra dependency and utility classes fit the stack.
  • You are willing to tune the delay behavior and verify the animation with real copy.

Skip it if

  • The first phrase must appear immediately without configuration, since the delay value is passed directly to Motion and needs deliberate tuning.
  • You need reduced-motion behavior or a static fallback without modifying the component.
  • Adding Motion is too much overhead for a small decorative text effect.
  • Your phrase list can be empty, since the cycling logic assumes at least one entry.

Install

Installation record for cultui-typewriter
Declared dependenciesmotion
Missing on installnone
Bare installbuilds and mounts without the shadcn-style helpers
Providerno provider required in the harness

Install Motion, copy the client component into the project, and ensure React client rendering is available. Add Tailwind or replace the cursor utility classes with equivalent CSS. Then choose delay values using Motion's time convention and add an empty-list guard.

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.