Text Cursor

Hover Around!

Props

PropertyTypeDefaultDescription
text
string
⚛️
The text string to display as the trail.
spacing
number
100
The spacing in pixels between each trail point.
followMouseDirection
boolean
true
If true, each text rotates to follow the mouse direction.
randomFloat
boolean
true
If true, enables random floating offsets in position and rotation for a dynamic effect.
exitDuration
number
0.5
The duration in seconds for the exit animation of each trail item.
removalInterval
number
30
The interval in milliseconds between removing trail items when the mouse stops moving.
maxPoints
number
5
The maximum number of trail points to display.

Dependencies

solid-motionone