Measured entry

tripled-native-typewriter

cursor-effectminimal-flatmotion on file

A client-side React typewriter that accepts one phrase or a rotating list, with looping, cursor, delay, speed, and per-character morph options. It ships as a shadcn registry TSX component and depends on React, Framer Motion, utility classes, and a 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 tripled-native-typewriter at 375 pixels wide
Harness screenshot at 375 pixels wide. No horizontal overflow recorded.
Harness screenshot of tripled-native-typewriter at 768 pixels wide
Harness screenshot at 768 pixels wide. No horizontal overflow recorded.
Harness screenshot of tripled-native-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 tripled-native-typewriter
BuildOK
MountOK
Console errors0
Uncaught page errors0
Horizontal overflowclean at 375, 768, 1440
Axe critical0
Axe serious0
Axe moderate0
Axe minor0
Gzip marginal69.9 KB (135.4 KB build, 65.5 KB baseline)
Bare modeOK
Provider requiredNO
Demo usedwritten from the component source API

Verdict

A sound drop-in for decorative rotating copy: it builds and mounts cleanly, handles reduced-motion preference, and needs no provider. Its main tradeoff is a sizable animation dependency for a small effect, while the API omits lifecycle controls that richer product flows may need.

Use it if

  • You need a compact typing and deleting loop for a hero line, status phrase, or rotating label.
  • Your React app already uses Framer Motion and Tailwind-style utility classes.
  • You need reduced-motion users to receive the complete content immediately.

Skip it if

  • A static text swap or CSS cursor would meet the brief without adding Framer Motion to the client bundle.
  • The changing phrase carries essential information that must be announced reliably by assistive technology.
  • You need pause, replay, completion callbacks, or fine control over the typing and deletion phases.

Install

Installation record for tripled-native-typewriter
Declared dependenciesframer-motion, react, 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 React project, add Framer Motion, clsx, and tailwind-merge, provide the cn utility or replace it with your own class combiner, translate the Tailwind classes into your styling system, and keep the component on the client.

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