Skip to content
Text Effects

TextOrbit

Text runs round a circle and slowly turns, like a badge stamp. Anything in children sits still in the middle.

Download
  • React
  • Tailwind CSS v4
  • motion

Props

NameTypeDefaultWhat it does
textstring—Text round the circle. End it with a separator so the join looks even.
childrenReactNode—Sits still in the middle.
sizenumber160Width and height, in pixels.
durationnumber14Seconds per full turn.
classNamestring""Font and colour (text uses currentColor).