More cursor effects in Pro
Cursor trails and pointer effects that give a site its own feel.
color | '#ffffff' | Color of the blobs. | |
cursorBallColor | '#ffffff' | Color of the cursor blob. It blends smoothly into any blob it merges with. | |
variant | 'solid' | 'outline' | 'contour' | 'solid' | Filled blobs, a single outline, or an outline with contour rings around it. |
motion | 'orbit' | 'drift' | 'lava' | 'orbit' | How the blobs move: orbiting a cluster, drifting across the area, or rising and sinking like a lava lamp. |
speed | 0.3 | Speed of the motion. | |
animationSize | 30 | Size of the world shown in the view. Higher values zoom out and make the blobs smaller. | |
ballCount | 15 | Number of blobs, up to 50. | |
clumpFactor | How far the blobs travel from the center. Lower values pack them together. | ||
gooeyness | 0.5 | How far blobs reach toward each other before merging, from 0 to 1. 0.5 is the classic look. | |
stickiness | 0.5 | How strongly merged blobs cling together before the neck between them snaps, from 0 to 1. | |
stretch | 0.5 | How much blobs stretch in the direction they move, from 0 to 1. | |
wobble | 0.5 | How much blobs jiggle after stretching or being pushed, from 0 to 1. | |
enableMouseInteraction | The cursor blob follows the pointer and pushes the others aside. It orbits on its own otherwise. | ||
cursorBallSize | 3 | Size of the cursor blob. | |
hoverSmoothness | 0.1 | How quickly the cursor blob catches up with the pointer. Lower is smoother. | |
clickBurst | Clicking makes the cursor blob pulse and splash the others outward before they flow back. | ||
lineWidth | 1.5 | Width of the lines in the outline and contour variants, in px. | |
rings | 4 | Number of contour rings around the outline. | |
| Starts as a single drop that buds into the blobs the first time it comes into view. | |||
enableTransparency | Renders on a transparent background instead of black. | ||
paused | Freezes the animation. | ||
dpr | auto | Maximum device pixel ratio, capped at 2. | |
| Extra class names for the container. | |||
| Inline styles for the container. |
colorstringColor of the blobs.
'#ffffff'cursorBallColorstringColor of the cursor blob. It blends smoothly into any blob it merges with.
'#ffffff'variant'solid' | 'outline' | 'contour'Filled blobs, a single outline, or an outline with contour rings around it.
'solid'motion'orbit' | 'drift' | 'lava'How the blobs move: orbiting a cluster, drifting across the area, or rising and sinking like a lava lamp.
'orbit'speednumberSpeed of the motion.
0.3animationSizenumberSize of the world shown in the view. Higher values zoom out and make the blobs smaller.
30ballCountnumberNumber of blobs, up to 50.
15clumpFactornumberHow far the blobs travel from the center. Lower values pack them together.
gooeynessnumberHow far blobs reach toward each other before merging, from 0 to 1. 0.5 is the classic look.
0.5stickinessnumberHow strongly merged blobs cling together before the neck between them snaps, from 0 to 1.
0.5stretchnumberHow much blobs stretch in the direction they move, from 0 to 1.
0.5wobblenumberHow much blobs jiggle after stretching or being pushed, from 0 to 1.
0.5enableMouseInteractionbooleanThe cursor blob follows the pointer and pushes the others aside. It orbits on its own otherwise.
cursorBallSizenumberSize of the cursor blob.
3hoverSmoothnessnumberHow quickly the cursor blob catches up with the pointer. Lower is smoother.
0.1clickBurstbooleanClicking makes the cursor blob pulse and splash the others outward before they flow back.
lineWidthnumberWidth of the lines in the outline and contour variants, in px.
1.5ringsnumberNumber of contour rings around the outline.
4introbooleanStarts as a single drop that buds into the blobs the first time it comes into view.
enableTransparencybooleanRenders on a transparent background instead of black.
pausedbooleanFreezes the animation.
dprnumberMaximum device pixel ratio, capped at 2.
autoExtra class names for the container.
Inline styles for the container.



