More cursor effects in Pro
Cursor trails and pointer effects that give a site its own feel.
opacity | 0.2 | Strength of the grain, from 0 to 1. | |
size | Size of each grain in CSS pixels. 0.5 is one device pixel on retina screens. | ||
fps | 24 | How many times per second the grain changes. 0 keeps it still, like a paper texture. | |
blendMode | 'normal' | 'overlay' | 'soft-light' | 'multiply' | 'screen' | 'difference' | 'overlay' | How the grain mixes with what is underneath. Overlay and soft light add texture without graying the image. |
contrast | 0.6 | From soft, fine grain at 0 to harsh, punchy grain at 1. | |
dust | Specks, hairs and fibers that flicker over the frame like dust on a film print, from 0 to 1. | ||
scratches | How often thin vertical scratches run down the frame for a few seconds, from 0 to 1. | ||
colored | Uses colored grain instead of gray. | ||
scanlines | Adds rolling horizontal lines, like an old screen, from 0 to 1. | ||
flicker | Makes the grain strength jump a little every frame, like a film projector. | ||
fixed | Covers the whole viewport instead of the nearest positioned parent. | ||
zIndex | Stacking order of the overlay. | ||
| Extra class names for the overlay. | |||
| Inline styles for the overlay. |
opacitynumberStrength of the grain, from 0 to 1.
0.2sizenumberSize of each grain in CSS pixels. 0.5 is one device pixel on retina screens.
fpsnumberHow many times per second the grain changes. 0 keeps it still, like a paper texture.
24blendMode'normal' | 'overlay' | 'soft-light' | 'multiply' | 'screen' | 'difference'How the grain mixes with what is underneath. Overlay and soft light add texture without graying the image.
'overlay'contrastnumberFrom soft, fine grain at 0 to harsh, punchy grain at 1.
0.6dustnumberSpecks, hairs and fibers that flicker over the frame like dust on a film print, from 0 to 1.
scratchesnumberHow often thin vertical scratches run down the frame for a few seconds, from 0 to 1.
coloredbooleanUses colored grain instead of gray.
scanlinesnumberAdds rolling horizontal lines, like an old screen, from 0 to 1.
flickernumberMakes the grain strength jump a little every frame, like a film projector.
fixedbooleanCovers the whole viewport instead of the nearest positioned parent.
zIndexnumberStacking order of the overlay.
Extra class names for the overlay.
Inline styles for the overlay.



