Hover Me.
More cursor effects in Pro
Cursor trails and pointer effects that give a site its own feel.
colors | string[] | ['#3847ff', '#7c84ff', '#c7cbff'] | One ribbon is drawn for each color, in order from back to front. |
shape | 'lens' | 'comet' | 'even' | 'lens' | Width along each ribbon. Lens swells in the middle, comet is widest at the cursor, even stays level. |
thickness | 30 | Width of each ribbon at its widest, in pixels. | |
length | 1.4 | How far the ribbons trail behind the cursor. Higher values leave longer, lazier trails. | |
spread | 18 | Space between the ribbons, in pixels. | |
stiffness | 0.5 | How tightly the ribbons chase the cursor, from 0 to 1. | |
bounce | 0.5 | How far the ribbons overshoot and swing back when the cursor stops or turns, from 0 to 1. | |
wave | A wave that rolls along each ribbon, from 0 to 1. | ||
softness | Blurs the ribbon edges into soft light trails, from 0 to 1. | ||
opacity | Opacity of the ribbons. | ||
fade | Fades each ribbon out toward its tail. | ||
backgroundColor | 'transparent' | Color behind the ribbons. By default the canvas is transparent. | |
dpr | auto | Maximum device pixel ratio, capped at 2. | |
| Extra class names for the container. | |||
| Inline styles for the container. |
colorsstring[]One ribbon is drawn for each color, in order from back to front.
['#3847ff', '#7c84ff', '#c7cbff']shape'lens' | 'comet' | 'even'Width along each ribbon. Lens swells in the middle, comet is widest at the cursor, even stays level.
'lens'thicknessnumberWidth of each ribbon at its widest, in pixels.
30lengthnumberHow far the ribbons trail behind the cursor. Higher values leave longer, lazier trails.
1.4spreadnumberSpace between the ribbons, in pixels.
18stiffnessnumberHow tightly the ribbons chase the cursor, from 0 to 1.
0.5bouncenumberHow far the ribbons overshoot and swing back when the cursor stops or turns, from 0 to 1.
0.5wavenumberA wave that rolls along each ribbon, from 0 to 1.
softnessnumberBlurs the ribbon edges into soft light trails, from 0 to 1.
opacitynumberOpacity of the ribbons.
fadebooleanFades each ribbon out toward its tail.
backgroundColorstringColor behind the ribbons. By default the canvas is transparent.
'transparent'dprnumberMaximum device pixel ratio, capped at 2.
autoExtra class names for the container.
Inline styles for the container.



