Opacity
0.5
Size
30%
Softness
0.6
Angle
-45°
Duration
650ms

More cursor effects in Pro

Cursor trails and pointer effects that give a site its own feel.

View all 19
21 properties
childrenReactNodeThe content the glare passes over.
mode'hover' | 'follow' | 'loop' | 'click''hover'Sweep on hover, follow the cursor, shine on a timer, or sweep on click.
variant'streak' | 'twin' | 'sheen''streak'Shape of the glare: one bright streak, a double streak like glass, or a soft wide sheen.
glareColor'#ffffff'Color of the glare. Any CSS color.
glareOpacity0.5Brightness of the glare, from 0 to 1.
glareSize30Width of the glare as a percentage of the element's diagonal.
softness0.6How soft the core of the glare is, from 0 to 1.
glareAngle-45Direction the glare travels, in degrees.
blendMode'screen'How the glare mixes with the content: screen, normal, overlay or soft-light.
rimGlintLets the edge catch the light where the glare crosses it.
transitionDuration650How long one sweep takes, in milliseconds.
interval3Seconds between shines in loop mode.
playOnceIn hover mode, sweeps only on the way in instead of again on the way out.
Sweeps once when the element first scrolls into view.
width'auto'Width of the element.
height'auto'Height of the element.
background'transparent'Background of the element.
borderRadius'10px'Corner radius of the element.
borderColor'transparent'Border color of the element.
Extra class names for the element.
{}Inline styles for the element.
childrenReactNode

The content the glare passes over.

mode'hover' | 'follow' | 'loop' | 'click'

Sweep on hover, follow the cursor, shine on a timer, or sweep on click.

Default'hover'
variant'streak' | 'twin' | 'sheen'

Shape of the glare: one bright streak, a double streak like glass, or a soft wide sheen.

Default'streak'
glareColorstring

Color of the glare. Any CSS color.

Default'#ffffff'
glareOpacitynumber

Brightness of the glare, from 0 to 1.

Default0.5
glareSizenumber

Width of the glare as a percentage of the element's diagonal.

Default30
softnessnumber

How soft the core of the glare is, from 0 to 1.

Default0.6
glareAnglenumber

Direction the glare travels, in degrees.

Default-45
blendModestring

How the glare mixes with the content: screen, normal, overlay or soft-light.

Default'screen'
rimGlintboolean

Lets the edge catch the light where the glare crosses it.

transitionDurationnumber

How long one sweep takes, in milliseconds.

Default650
intervalnumber

Seconds between shines in loop mode.

Default3
playOnceboolean

In hover mode, sweeps only on the way in instead of again on the way out.

introboolean

Sweeps once when the element first scrolls into view.

widthstring

Width of the element.

Default'auto'
heightstring

Height of the element.

Default'auto'
backgroundstring

Background of the element.

Default'transparent'
borderRadiusstring

Corner radius of the element.

Default'10px'
borderColorstring

Border color of the element.

Default'transparent'

Extra class names for the element.

Inline styles for the element.

Default{}