
Colorful Cursor Aura
Cursor
A pointer-reactive cursor effect for SaaS heroes, AI products, developer tools, creative portfolios, technical landing pages, and interactive editorial sections where the background should respond without stealing the interface.
Dotted Trail turns pointer movement into a visible field of motion.
As the user moves, a soft glow follows the cursor and exposes or intensifies nearby dots. The trail gives the page a sense of responsiveness without replacing the cursor, blocking content, or forcing the visitor into a heavy 3D scene. The effect feels technical, atmospheric, and tactile when it stays behind the main interface.
Use Dotted Trail when a page needs a lightweight interaction layer around a hero, feature section, product intro, or visual story. It works especially well for AI pages, infrastructure brands, developer tools, data products, cyber interfaces, creative studios, and experimental landing pages where a dotted grid already fits the visual language.
The page job is environmental feedback. The user should feel the surface reacting to movement, but the content must remain readable, clickable, and calm. The trail is atmosphere. The page is still the product.
import DottedTrail from '@/components/effects/dotted-trail' const page = () => { return ( <> <DottedTrail/> </> )} export default pageA developer-tool homepage can use Dotted Trail in the hero background. The pointer creates a soft glowing path through a dotted grid while the headline, CTA, and product message remain still and readable.
The outcome is technical atmosphere. The page feels reactive and engineered without needing a heavy 3D hero or distracting animation loop.
An AI product page can use the same effect around a feature intro, making the surface feel computational while keeping the actual value proposition clear.
Not for dense dashboards, checkout flows, forms, documentation, legal pages, pricing tables, or sections where users need quiet utility.
Not for mobile-first experiences that cannot use pointer proximity meaningfully.
Not for pages already overloaded with particles, shaders, video backgrounds, and scroll effects. A cursor trail should add signal, not join the motion committee and start voting against readability.
Keep the dot field lightweight, limit blur size, throttle pointer work with requestAnimationFrame , and avoid React state updates on every pointer move. Store fast-changing pointer values in refs where possible.
Pause or disable the effect when the section is offscreen. Disable or simplify it on touch devices. The WebGL canvas already caps device pixel ratio at 2; avoid redrawing more than necessary.
The effect should feel immediate without making the browser work like it is rendering a nebula for every mouse move.
Dotted Trail is decorative. It should not communicate essential information, hide text, or interfere with interaction.
On touch devices, disable the pointer trail, show a static dotted field, or use a very subtle non-interactive background. For reduced motion, remove the moving trail and render a static dot texture or calm background state.
Maintain sufficient contrast between text and the glowing layer. The trail should never pass over copy in a way that reduces readability.
| Prop | Type | Default | Description |
|---|---|---|---|
colorA | color | #ff4fd8 | Core color at the cursor. |
colorB | color | #8b5cf6 | Outer color the blend runs toward. |
backgroundColor | color | #ffffff | Page color behind the grid. |
dotColor | color | #d1d1d1 | Dot color at rest. |
activeDotColor | color | #ffffff | Dot color under the trail. |
headRadius | number | 80 | Radius of the blob at the cursor. |
glowRadius | number | 300 | Reach of the soft glow around the cursor. |
followSpeed | number | 0.22 | How quickly the trail chases the cursor. |
trailLength | number | 18 | How many nodes the tail trails behind. |
fadeOnIdle | boolean | true | Fade the cursor out when it rests. |
idleDelay | number | 100 | Stillness before the fade starts, ms. Needs Fade On Idle on. |
idleFade | number | 1100 | How long the fade takes, ms. Needs Fade On Idle on. |
rimInner | number | 2.1 | Where the blend starts, inside the shape. |
rimOuter | number | 1.5 | Where the blend finishes, past the edge. |
edgeDesaturate | number | 0.3 | Pulls the fading edge back toward colorA. |
edgeDesaturateSpan | number | 2.1 | Band width that desaturation acts over. |
tailTilt | number | 0.18 | Extra drift toward colorB along the tail. |
dotSpacing | number | 34 | Distance between dots in the grid. |
dotRadius | number | 1.2 | Radius of an idle dot. |
Dotted Trail is a React cursor effect where pointer movement creates a soft glowing trail across a dotted field.
Use it for hero backgrounds, product intros, technical landing pages, creative portfolios, and brand sections where the surface should respond subtly to pointer movement.
No. It is a decorative pointer-reactive layer. The native cursor should remain usable, and the effect should not block normal interaction.
It must preserve native click meaning, visible focus, hover states, and modal layering.
Yes. Dotted Trail renders the dot field and trail in a single WebGL2 fragment shader on a canvas, so it needs WebGL2 support.
With reduced motion, Dotted Trail draws the dot field once as a static surface, with no trail, pointer-follow glow, or fading path.
Need a custom effect? Tell us what to create.