Skip to content
roguelite labsAnthony Spezzano ↗
motion/spinning-text

Spinning Text

Text arranged in a circle with each character positioned via trigonometry. The container rotates continuously.

Use and inspectUse this when the motion supports the surrounding content. Connect callbacks and state to your app, keep the reset preview as a local demonstration, and add a reduced-motion fallback for movement or looping. The preview is synthetic; it does not call a backend.Next: inspect the source below and replace the demo inputs with your own data.
Spinning TextText arranged in a circle with each character positioned via trigonometry. The container rotates continuously.
Installnpm install framer-motion

Props

PropTypeDefaultDescription
textrequiredstringText to display in a circle
radiusnumber52Circle radius in px
durationnumber8Full rotation duration in seconds
fontSizenumber12Character font size in px