Measured entry
magicui-spinning-text
text-effect3dmotion on file
A client-side React component that places individual characters around a circle and rotates the container with Motion. It ships as shadcn registry source, expects a string or string array, imports a shared cn utility through the project alias, and relies on Tailwind utility classes.



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 | 66.5 KB (131.9 KB build, 65.4 KB baseline) |
| Bare mode | FAIL |
| Provider required | NO |
| Demo used | written from the component source API |
What the harness recorded
BARE BUILD
✗ Build failed in 24.52s error during build: [vite:load-fallback] Could not load <sandbox>/src/lib/utils (imported by src/cut/spinning-text.tsx): ENOENT: no such file or directory, open '<sandbox>/src/lib/utils'
Verdict
A focused circular-text primitive with useful animation hooks, but the supplied generic demo crashes because it provides no string children. It needs a shadcn-style setup before it will build in a bare project, and consumers must always pass valid text.
Use it if
- You need short text to orbit a badge, logo, avatar, or decorative callout.
- Your React app already uses Motion, Tailwind utilities, and shadcn-style path aliases.
- You want control over direction, duration, radius, transitions, or Motion variants.
Skip it if
- You need the component to accept arbitrary React children rather than plain strings.
- You want a dependency-free text treatment or do not otherwise use Motion.
- Your integration expects a component that renders safely without required children.
- You need motion that respects reduced-motion preferences without adding that behavior yourself.
Install
| Declared dependencies | motion |
|---|---|
| Missing on install | none |
| Bare install | fails once the shadcn-style helpers are removed, so it needs that setup |
| Provider | no provider required in the harness |
Install Motion, provide a lib/utils module exporting cn, configure the project alias used by that import, and make the referenced Tailwind utilities available. Pass a string or an array containing only strings, and add a reduced-motion treatment if your product requires one.
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/magicuidesign/magicuiAlternatives
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