Skip to content
PixiKit

Ring Text

Text set around a ring that spins, speeds up or slows on hover, tilts toward the pointer and can be flung.

pixikit.com/docs/effects/ring-text

Customize

Spin duration20s
Direction
Draggable
Hover tilt20deg
Tilt0deg
Size200px
Font size24px
Font weight900
Letter spacing0.00em
Color
Start angle0deg
Fill
Repeat1
Ring
Ring color

Props

19
NameTypeDefaultDescription
textstring""The text laid out around the ring; end it with a separator for a seamless loop.
spinDurationnumber20Seconds for one full turn; 0 keeps the ring still until it is dragged.
onHover"slowDown" | "speedUp" | "pause" | "goBonkers""speedUp"What happens while the pointer is over the ring; goBonkers also shrinks it a little.
direction"clockwise" | "counterclockwise""clockwise"Which way the ring turns.
draggablebooleanfalseLet people grab the ring and fling it; it coasts, then eases back to its cruise speed.
hoverTiltnumber0How far the ring tilts in 3D toward the pointer, in degrees; 0 turns it off.
tiltnumber0Lean the ring back in perspective, in degrees, so it orbits the centre like a planet ring.
sizenumber200The diameter of the ring, in pixels.
fontSizenumber24The size of the letters, in pixels.
fontWeightnumber900The weight of the letters.
letterSpacingnumber0Extra space between letters, in em; applies when fill is off.
colorstring""The colour of the letters and centre content; empty follows the surrounding text.
startAnglenumber0Where the first letter sits, in degrees clockwise from the top.
fillbooleantrueSpread the letters evenly around the whole ring; off keeps natural spacing and leaves a gap.
repeatnumber1How many times the text repeats around the ring.
ringbooleanfalseDraw a thin circle just inside the letters.
ringColorstring""The colour of the inner circle; empty matches the letters.
childrenReactNodeNoneContent shown in the middle of the ring; it tilts with the ring.
classNamestringNone

More text effects in Pro

View all

Related