Duration
4s
Stars
Trail Length
0.3
Thickness
1px
Radius
12px
Glow
0.6

More cursor effects in Pro

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

View all 19
19 properties
asElementType'button'Element or component to render, for example a, div or a router Link.
colorColor of the star and its glow. Defaults to white on dark and ink on light.
trailColorColor the trail fades into behind the star. Defaults to color.
duration4Seconds for one lap around the border. The star keeps the same pace on any shape.
direction'clockwise' | 'counterclockwise''clockwise'Which way the star travels.
starsStars spaced evenly around the border, up to 6.
trailLength0.3Length of the trail as a share of the border. Trails stretch when the star speeds up.
thicknessBorder width in pixels.
radius12Corner radius in pixels. Values past half the height give a pill.
glow0.6Bloom around the star and its trail, from 0 to 1. Light spills onto the surface and the page.
sparklePuts a small twinkling glint at the front of each trail and lets it shed fine stardust.
hover'lap' | 'brighten' | 'reveal' | 'none''lap'What happens on hover and keyboard focus. Lap sends the star once around the border, brighten makes the light shine stronger, and reveal keeps it hidden until then.
clickPulseSends light racing around the border from the point you press.
theme'dark' | 'light''dark'Picks the default surface, text, border and star colors.
backgroundColorSurface color. Follows the theme when not set.
textColorText color. Follows the theme when not set.
borderColorColor of the resting border the star travels on. Follows the theme when not set.
Extra classes for the root, for example to change padding or font.
Inline styles for the root.
asElementType

Element or component to render, for example a, div or a router Link.

Default'button'
colorstring

Color of the star and its glow. Defaults to white on dark and ink on light.

trailColorstring

Color the trail fades into behind the star. Defaults to color.

durationnumber

Seconds for one lap around the border. The star keeps the same pace on any shape.

Default4
direction'clockwise' | 'counterclockwise'

Which way the star travels.

Default'clockwise'
starsnumber

Stars spaced evenly around the border, up to 6.

trailLengthnumber

Length of the trail as a share of the border. Trails stretch when the star speeds up.

Default0.3
thicknessnumber

Border width in pixels.

radiusnumber

Corner radius in pixels. Values past half the height give a pill.

Default12
glownumber

Bloom around the star and its trail, from 0 to 1. Light spills onto the surface and the page.

Default0.6
sparkleboolean

Puts a small twinkling glint at the front of each trail and lets it shed fine stardust.

hover'lap' | 'brighten' | 'reveal' | 'none'

What happens on hover and keyboard focus. Lap sends the star once around the border, brighten makes the light shine stronger, and reveal keeps it hidden until then.

Default'lap'
clickPulseboolean

Sends light racing around the border from the point you press.

theme'dark' | 'light'

Picks the default surface, text, border and star colors.

Default'dark'
backgroundColorstring

Surface color. Follows the theme when not set.

textColorstring

Text color. Follows the theme when not set.

borderColorstring

Color of the resting border the star travels on. Follows the theme when not set.

Extra classes for the root, for example to change padding or font.

Inline styles for the root.