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.



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.
| Build | OK |
|---|---|
| Mount | OK |
| Console errors | 0 |
| Uncaught page errors | 0 |
| Horizontal overflow | clean at 375, 768, 1440 |
| Axe critical | 0 |
| Axe serious | 0 |
| Axe moderate | 0 |
| Axe minor | 0 |
| Gzip marginal | 69.9 KB (135.4 KB build, 65.5 KB baseline) |
| Bare mode | OK |
| Provider required | NO |
| Demo used | written 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
| Declared dependencies | framer-motion, react, clsx, tailwind-merge |
|---|---|
| Missing on install | none |
| Bare install | builds and mounts without the shadcn-style helpers |
| Provider | no 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.
Author repository
github.com/moumen-soliman/uitripledAlternatives
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.
- tripled-liquid-cursor-shadcnuiliquid-glass
- Renders
- YES
- A11y
- 0
- Gzip
- 21.1KB
- Bare
- pass
- Prov
- NO
- kibo-cursorminimal-flat
- Renders
- YES
- A11y
- 0
- Gzip
- 29.9KB
- Bare
- pass
- Prov
- NO
- tripled-spotlight-section-shadcnuiminimal-flat
- Renders
- YES
- A11y
- 0
- Gzip
- 61.8KB
- Bare
- pass
- Prov
- NO
- tripled-native-typewriterminimal-flat
- Renders
- YES
- A11y
- 0
- Gzip
- 69.9KB
- Bare
- pass
- Prov
- NO
- tripled-native-magneticminimal-flat
- Renders
- YES
- A11y
- 0
- Gzip
- 70.5KB
- Bare
- pass
- Prov
- NO
- tripled-native-magnetic-carbonminimal-flat
- Renders
- YES
- A11y
- 0
- Gzip
- 70.5KB
- Bare
- pass
- Prov
- NO