Skip to content
Menu

Cursor

Neon trail cursor

Neon trail cursor: A tapered beam of light strung through the pointer's recent path, hot and wide at the head, thinning and shifting colour toward the tail.

Every path we draw fades before the next one begins.

Using Neon trail cursor

Neon trail cursor uses the wide preview frame with a dark theme setting.

Customize the preview

These controls are passed to the demo. Defaults and limits describe the preview; consult the implementation for its full prop API.

ControlTypeDefaultPreview limits
trailLengthnumber40From 10 to 64; step 2
widthnumber8From 2 to 20; step 1
followSpeednumber0.16From 0.05 to 0.6; step 0.01
idleFadebooleantrueNo additional limit in the metadata.
colorcolor#FF6A1FNo additional limit in the metadata.
tailColorcolor#F5C542No additional limit in the metadata.
Which frameworks are available for Neon trail cursor?

Neon trail cursor is available for React, Vue, Svelte, Astro, HTML. The live preview uses React; the source observations below apply to index.tsx. Check the selected port before relying on the same interactions.

What does Neon trail cursor depend on?

The React metadata lists these npm dependencies beyond React: clsx.

What accessibility details are visible in Neon trail cursor?

The React source for Neon trail cursor includes: attributes and handlers (aria-hidden). These are source observations. Verify accessible names, focus order and keyboard behavior in the composed page.

How does Neon trail cursor handle reduced motion?

Neon trail cursor reads the motion preference in its React source through matchMedia(prefers-reduced-motion). Check the full implementation, shared styles and selected port with reduced motion enabled; these observations do not establish that every animation stops.

Connect your agent

Related open components