Animations & Motion

Snake Trail

Lagging echo particles creating a snake-like trail.

cursormagneticechotrailsnake

Props

Customize the component with these props

PropertyTypeDefaultDescription
segmentCount
number32Number of segments in the snake
segmentSpacing
number8Spacing between segments
boneLength
number12Length of each bone segment
headEasing
number0.25Easing factor for head movement
bodyEasing
number0.9Easing factor for body movement
waveAmplitude
number2.2Amplitude of the wave motion
waveFrequency
number6Frequency of the wave motion
waveSpeed
number0.5Speed of the wave motion
headColor
string#9be870Color of the head segment
bodyColorStart
stringrgba(188,19,254,0.85)Starting color of body segments
bodyColorEnd
stringrgba(188,19,254,0.15)Ending color of body segments
strokeColor
stringrgba(125,18,255,0.5)Color of the stroke
strokeWidth
number1.2Width of the stroke
headWidth
number14Width of the head segment
taperFactor
number0.85Taper factor for body segments
eyeColor
string#2d2a2eColor of the eyes
eyeSize
number2.2Size of the eyes
eyeOffsetX
number6X offset of the eyes
eyeOffsetY
number4Y offset of the eyes
className
stringAdditional CSS classes
Snake Trail - Animations & Motion Component | UILora