Introducing Magic UI Pro - 50+ blocks and templates to build beautiful landing pages in minutes.

Docs
Spinning Text

Spinning Text

The Spinning Text component animates text in a circular motion with customizable speed, direction, color, and transitions for dynamic and engaging effects.

learn more • earn more • grow more •

Installation

Examples

Reverse

learn more • earn more • grow more •

Props

PropTypeDefaultDescription
childrenReactElementThe text content to be animated in a circular motion.
styleCSSProperties{}Custom styles for the text container.
durationnumber10The duration of the full circular rotation animation.
classNamestringA custom class name for the text container.
reversebooleanfalseDetermines if the animation should rotate in reverse.
fontSizenumber1The font size of the text being animated in rem.
radiusnumber5The radius of the circular path for the text animation.
transitionTransitionCustom transition effects for the animation.
variants{ container?: Variants; item?: Variants; }Variants for container and item animations.

Credits