Cursor
Smoke trail cursor
Smoke trail cursor: A soft churning cloud that follows the pointer like smoke, curling back on itself when you change direction and dissolving when you stop.
Using Smoke trail cursor
Smoke 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 | 50 | From 10 to 90; step 5 |
inertia | number | 0.5 | From 0.05 to 0.95; step 0.05 |
grain | number | 0.05 | From 0 to 0.3; step 0.01 |
brightness | number | 1 | From 0.4 to 2; step 0.1 |
color | color | #38BDF8 | No additional limit in the metadata. |
Which frameworks are available for Smoke trail cursor?
Smoke 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 Smoke trail cursor depend on?
The React metadata lists these npm dependencies beyond React: clsx, tailwind-merge.
What accessibility details are visible in Smoke trail cursor?
The React source for Smoke 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 Smoke trail cursor handle reduced motion?
Smoke 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.