Loading
Loading
Loading
mobile footer

Build the Interaction Layer Your Website is Missing.

Browse All EffectsBrowse All EffectsBrowse All EffectsUpgrade to ProUpgrade to ProUpgrade to Pro

70+ effects free, forever. No credit card.

© 2026 Hyperiux. All Rights Reserved.

AI Component CatalogueHey AI, Learn About Us
Platform

Vault

  • Documentation
  • Pricing
  • Blog
  • Community
  • NPM
  • MCP

Categories

  • All Effects
  • WebGL
  • Text
  • Backgrounds
  • Buttons
  • Carousels
  • Scroll
  • Components
  • Navigation
  • Cursor
  • Transitions
  • Loaders

Documents

  • Introduction
  • Installation
  • CLI
  • Dependencies
  • License

Legal

  • License Agreement
  • Terms of Service
  • Privacy Policy
  • Refund Policy
Socials
  • Twitter / X
  • LinkedIn
  • GitHub
  • Instagram
Contact Us
  • hello@hyperiux.com
New effects, in your inbox

Every new drop, plus the occasional behind-the-scenes build. No spam. Unsubscribe anytime.

All Effects
Featured ComponentsText AnimationsAnimated BackgroundsAnimated ButtonsCarousel EffectsScroll EffectsCreative ComponentsNavigationsCursor EffectsTransitionsLoadersWebGL & 3D Effects
Templates
IntroductionInstallationCLIDependenciesLicense
PricingBlogGithubNPMMCP Doc
Loading
Home/effects/Dotted Trail

Dotted Trail

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.

DemoDemoDemo

Tune the Real Props

Color A

Core color at the cursor.

Color B

Outer color the blend runs toward.

Background Color

Page color behind the grid.

Dot Color

Dot color at rest.

Active Dot Color

Dot color under the trail.

Overview

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.


Usage Code

page
1import DottedTrail from '@/components/effects/dotted-trail'2 3const page = () => {4  return (5    <>6     <DottedTrail/>  7  </>8  )9}10 11export default page

Example Production Use Case

A 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.


Best Used For

  • SaaS, AI, developer-tool, cyber, and infrastructure landing pages.
  • Hero backgrounds where interaction should feel technical but lightweight.
  • Product intros that need ambient motion around a stable headline.
  • Creative portfolio sections where pointer movement can add tactility.
  • Editorial or campaign pages where a dotted field supports the visual system.
  • Dark or light technical layouts where a glow trail can create controlled depth.

Not For

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.


Performance Budget

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.


Accessibility and Mobile

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.


Common Mistakes

  • Putting the trail layer above clickable elements.
  • Making the glow too bright behind text.
  • Updating React state on every pointer move.
  • Using too many dots or excessive blur.
  • Forgetting to disable the effect on touch devices.
  • Treating the dotted trail as meaningful content instead of decoration.
  • Running the effect continuously when the section is not visible.

Changelog

Filed under Cursor Effects, matching its docs page
Initial release: WebGL dotted grid with an SDF cursor trail, radial two-color blend, and remixer controls.

API Reference

PropTypeDefaultDescription
colorAcolor#ff4fd8Core color at the cursor.
colorBcolor#8b5cf6Outer color the blend runs toward.
backgroundColorcolor#ffffffPage color behind the grid.
dotColorcolor#d1d1d1Dot color at rest.
activeDotColorcolor#ffffffDot color under the trail.
headRadiusnumber80Radius of the blob at the cursor.
glowRadiusnumber300Reach of the soft glow around the cursor.
followSpeednumber0.22How quickly the trail chases the cursor.
trailLengthnumber18How many nodes the tail trails behind.
fadeOnIdlebooleantrueFade the cursor out when it rests.
idleDelaynumber100Stillness before the fade starts, ms. Needs Fade On Idle on.
idleFadenumber1100How long the fade takes, ms. Needs Fade On Idle on.
rimInnernumber2.1Where the blend starts, inside the shape.
rimOuternumber1.5Where the blend finishes, past the edge.
edgeDesaturatenumber0.3Pulls the fading edge back toward colorA.
edgeDesaturateSpannumber2.1Band width that desaturation acts over.
tailTiltnumber0.18Extra drift toward colorB along the tail.
dotSpacingnumber34Distance between dots in the grid.
dotRadiusnumber1.2Radius of an idle dot.

Questions, Answered.

What is Dotted Trail?

Dotted Trail is a React cursor effect where pointer movement creates a soft glowing trail across a dotted field.

When should I use Dotted Trail?

Use it for hero backgrounds, product intros, technical landing pages, creative portfolios, and brand sections where the surface should respond subtly to pointer movement.

Is Dotted Trail a cursor replacement?

No. It is a decorative pointer-reactive layer. The native cursor should remain usable, and the effect should not block normal interaction.

How should Dotted Trail behave around links and buttons?

It must preserve native click meaning, visible focus, hover states, and modal layering.

Does Dotted Trail require Canvas?

Yes. Dotted Trail renders the dot field and trail in a single WebGL2 fragment shader on a canvas, so it needs WebGL2 support.

What should reduced motion do?

With reduced motion, Dotted Trail draws the dot field once as a static surface, with no trail, pointer-follow glow, or fading path.

Request a Custom Animation

Need a custom effect? Tell us what to create.

Related Effects

Explore All EffectsExplore All EffectsExplore All Effects
Colorful Cursor Aura
Pro
GSAP

Colorful Cursor Aura

Cursor

Noise Ripple Cursor
Pro
Three.js

Noise Ripple Cursor

Cursor

Dotted Grid Background
canvas

Dotted Grid Background

Backgrounds

Pixel Bloom Cursor
Pro
canvas

Pixel Bloom Cursor

Cursor