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.

Specimen
Motion capture of the mounted demo, recorded by the harness. No audio track.
Harness screenshot of magicui-spinning-text at 375 pixels wide
Harness screenshot at 375 pixels wide. No horizontal overflow recorded.
Harness screenshot of magicui-spinning-text at 768 pixels wide
Harness screenshot at 768 pixels wide. No horizontal overflow recorded.
Harness screenshot of magicui-spinning-text 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 magicui-spinning-text
BuildOK
MountOK
Console errors0
Uncaught page errors0
Horizontal overflowclean at 375, 768, 1440
Axe critical0
Axe serious0
Axe moderate0
Axe minor0
Gzip marginal66.5 KB (131.9 KB build, 65.4 KB baseline)
Bare modeFAIL
Provider requiredNO
Demo usedwritten 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

Installation record for magicui-spinning-text
Declared dependenciesmotion
Missing on installnone
Bare installfails once the shadcn-style helpers are removed, so it needs that setup
Providerno 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.

License
MIT
Record published
2026-08-13

Alternatives

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.