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.
| Control | Type | Default | Preview limits |
|---|---|---|---|
trailLength | number | 40 | From 10 to 64; step 2 |
width | number | 8 | From 2 to 20; step 1 |
followSpeed | number | 0.16 | From 0.05 to 0.6; step 0.01 |
idleFade | boolean | true | No additional limit in the metadata. |
color | color | #FF6A1F | No additional limit in the metadata. |
tailColor | color | #F5C542 | No 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.