Measured entry

tripled-native-typewriter-shadcnui

cursor-effectminimal-flatmotion on file

A client-side React typewriter that accepts one phrase or a rotating list, with looping, cursor, delay, speed, and character morph options. It ships as a shadcn registry component and uses Framer Motion for each character and the cursor, Tailwind utility classes for styling, and a local cn helper. Reduced-motion users receive the full content immediately.

Specimen
Motion capture of the mounted demo, recorded by the harness. No audio track.
Harness screenshot of tripled-native-typewriter-shadcnui at 375 pixels wide
Harness screenshot at 375 pixels wide. No horizontal overflow recorded.
Harness screenshot of tripled-native-typewriter-shadcnui at 768 pixels wide
Harness screenshot at 768 pixels wide. No horizontal overflow recorded.
Harness screenshot of tripled-native-typewriter-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-native-typewriter-shadcnui
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 short animated headings, with a clean API and a useful reduced-motion path. The tradeoff is a sizable animation dependency and many motion elements for an effect that simpler CSS or text updates could cover. Best when Framer Motion is already part of the app.

Use it if

  • You need a compact type-and-delete headline that can rotate through several short phrases.
  • Your React app already uses Framer Motion and Tailwind, so the component fits the existing stack.
  • You want reduced-motion preferences handled without maintaining a separate static rendering path.

Skip it if

  • You only need a blinking cursor or a simple text reveal and do not want to add Framer Motion for it.
  • You need control over pause and deletion timing, callbacks, or an imperative restart API.
  • Your rotating phrases must remain distinct for reduced-motion users, since this fallback joins them into one line.

Install

Installation record for tripled-native-typewriter-shadcnui
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 project, add React, Framer Motion, Tailwind CSS, and a cn utility backed by clsx and tailwind-merge. Map the primary color utility to your theme, preserve the client-component directive where required, and replace the cn import alias with your local path.

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.