Measured entry
motion-primitives-text-roll
text-effect3dmotion on file
TextRoll is a client-side React and TypeScript text effect distributed as a shadcn registry component. It renders each character as paired layers for a staggered flip, depends on Motion, and uses Tailwind utilities for perspective, positioning, and screen-reader copy.



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 | 58.2 KB (123.6 KB build, 65.4 KB baseline) |
| Bare mode | OK |
| Provider required | NO |
| Demo used | written from the component source API |
Verdict
A focused, configurable text flourish that built and mounted cleanly in both registry and bare setups. Use it sparingly for short copy; the Motion cost and missing reduced-motion behavior make it a poor default for routine body text.
Use it if
- You need a short headline, label, or call to action to animate once on mount.
- Your design benefits from per-character timing and configurable enter and exit transforms.
- Your React stack already uses Motion and Tailwind-style utility classes.
Skip it if
- You need automatic reduced-motion handling; the component does not implement a preference fallback.
- Your content must include nested markup or rich text, since children must be a plain string.
- You want a lightweight text treatment without adding Motion to the client bundle.
Install
| Declared dependencies | motion |
|---|---|
| Missing on install | none |
| Bare install | builds and mounts without the shadcn-style helpers |
| Provider | no provider required in the harness |
Install Motion, copy the client component into your React project, and provide Tailwind support for its utility classes. Without Tailwind, recreate the relative and absolute positioning, perspective, backface visibility, transform origins, inline layout, invisible sizing copy, and screen-reader-only text in CSS.
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/ibelick/motion-primitivesAlternatives
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.
- uilayouts-randomized-text-effectdark-futuristic
- Renders
- YES
- A11y
- 0
- Gzip
- 17.5KB
- Bare
- pass
- Prov
- NO
- uilayouts-randomized-text-unveildark-futuristic
- Renders
- YES
- A11y
- 0
- Gzip
- 17.7KB
- Bare
- pass
- Prov
- NO
- fancy-scramble-indark-futuristic
- Renders
- YES
- A11y
- 0
- Gzip
- 17.8KB
- Bare
- pass
- Prov
- NO
- magicui-aurora-textaurora-mesh
- Renders
- YES
- A11y
- 0
- Gzip
- 20.7KB
- Bare
- pass
- Prov
- NO
- magicui-highlighterskeuomorphism
- Renders
- YES
- A11y
- 0
- Gzip
- 24.8KB
- Bare
- pass
- Prov
- NO
- fancy-text-along-pathspatial
- Renders
- YES
- A11y
- 0
- Gzip
- 25.7KB
- Bare
- pass
- Prov
- NO