More cursor effects in Pro
Cursor trails and pointer effects that give a site its own feel.
src | 'https://images.unsplash.com/...' | Image to print. Transparent or plain backgrounds are left unprinted. Must be served with CORS headers. | |
fit | 'contain' | 'cover' | 'cover' | Show the whole image, or crop it to fill the container. |
mode | 'mono' | 'duotone' | 'color' | 'mono' | One ink, two inks at different screen angles, or full color: CMYK on light paper and RGB light on dark paper. |
shape | 'dot' | 'ellipse' | 'square' | 'diamond' | 'line' | 'cross' | 'dot' | Shape of the halftone marks. |
cellSize | 6 | Spacing of the halftone screen, in px. | |
angle | 45 | Rotation of the screen, in degrees. | |
dotScale | Scales every mark. Below 1 keeps them apart, above 1 lets them merge sooner. | ||
inkColor | '#120f17' | Color of the printed marks. | |
accentColor | '#ff4f2a' | Second ink used in duotone mode. | |
paperColor | '#ffffff' | Background the image is printed on. Match it to your page. | |
contrast | 1.1 | Tonal contrast applied before printing. | |
brightness | Shifts the image lighter or darker before printing. | ||
invert | Prints a negative of the image. | ||
roughness | Gives the marks ragged, ink-spread edges, from 0 to 1. | ||
misregistration | Offsets the ink layers like a slightly misaligned press, from 0 to 1. | ||
revealRadius | 160 | Radius of the area around the cursor where the dots swell into the real photo, in px. | |
softness | 0.6 | Width of the band where the dots grow into the photo. 0 is a hard edge. | |
linger | 1.2 | Seconds the revealed trail takes to shrink back into print. 0 turns the trail off. | |
reverse | Start as the photo and print wherever the cursor goes. | ||
wander | Lets the reveal drift around on its own while the pointer is away. | ||
clickBurst | Clicking sends a ring of color rippling out through the print. | ||
| Grows the dots in from the center on load. | |||
| Extra class names for the container. | |||
| Inline styles for the container. |
srcstringImage to print. Transparent or plain backgrounds are left unprinted. Must be served with CORS headers.
'https://images.unsplash.com/...'fit'contain' | 'cover'Show the whole image, or crop it to fill the container.
'cover'mode'mono' | 'duotone' | 'color'One ink, two inks at different screen angles, or full color: CMYK on light paper and RGB light on dark paper.
'mono'shape'dot' | 'ellipse' | 'square' | 'diamond' | 'line' | 'cross'Shape of the halftone marks.
'dot'cellSizenumberSpacing of the halftone screen, in px.
6anglenumberRotation of the screen, in degrees.
45dotScalenumberScales every mark. Below 1 keeps them apart, above 1 lets them merge sooner.
inkColorstringColor of the printed marks.
'#120f17'accentColorstringSecond ink used in duotone mode.
'#ff4f2a'paperColorstringBackground the image is printed on. Match it to your page.
'#ffffff'contrastnumberTonal contrast applied before printing.
1.1brightnessnumberShifts the image lighter or darker before printing.
invertbooleanPrints a negative of the image.
roughnessnumberGives the marks ragged, ink-spread edges, from 0 to 1.
misregistrationnumberOffsets the ink layers like a slightly misaligned press, from 0 to 1.
revealRadiusnumberRadius of the area around the cursor where the dots swell into the real photo, in px.
160softnessnumberWidth of the band where the dots grow into the photo. 0 is a hard edge.
0.6lingernumberSeconds the revealed trail takes to shrink back into print. 0 turns the trail off.
1.2reversebooleanStart as the photo and print wherever the cursor goes.
wanderbooleanLets the reveal drift around on its own while the pointer is away.
clickBurstbooleanClicking sends a ring of color rippling out through the print.
introbooleanGrows the dots in from the center on load.
Extra class names for the container.
Inline styles for the container.



