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 Grid Background

Dotted Grid Background

A lightweight dotted grid background that gives SaaS, AI, developer-tool, and technical landing pages a clean structural layer.

canvas
DemoDemoDemo

Tune the Real Props

Background Color

Colors the canvas background.

Overview

Dotted Grid gives SaaS, AI, and developer-tool heroes a quiet technical structure behind readable foreground copy.

Use it when the page needs an engineered surface without video, WebGL, or heavy animation. The grid should support the message, not compete with it.

The production risk is readability. Headlines, body copy, fields, and CTAs must stay clear above the layer. The effect should be easy to freeze, lower in density, or replace with a static texture on mobile and reduced-motion contexts.


Usage Code

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

Example Production Use Case

An API platform can use Dotted Grid Background behind its homepage hero. The dots form geometric shapes that change on their own or when the visitor clicks, and the cursor leaves a soft glowing trail that fades behind it.

The outcome is structure. The hero gets a technical surface without video or WebGL, and the headline and signup field stay clearly readable above it. In production, preserve readable HTML above the surface, cap animation cost, pause offscreen work, and provide a static fallback.


Best Used For

  • SaaS and AI hero sections that need quiet technical structure behind readable copy.
  • Developer-tool pages where a lightweight engineered surface is better than video, particles, or WebGL.
  • Technical brand sections where the grid supports the message instead of competing with it.

Not For

Not for low-contrast text sections, long reading pages, or pages already carrying heavy video/WebGL cost.


Performance Budget

Keep density low enough to protect text, pause animated canvas work offscreen, and provide a static CSS/image fallback.


Accessibility and Mobile

Decorative backgrounds should be hidden from assistive technology. On mobile, reduce density and keep foreground contrast high.


Common Mistakes

  • Letting Dotted Grid compete with foreground text.
  • Animating canvas work offscreen.
  • Choosing canvas/WebGL when CSS would do the job.

Changelog

Added prefers-reduced-motion support with a static canvas fallback.
Initial release

API Reference

PropTypeDefaultDescription
spacingnumber24Controls the distance between dots.
baseRadiusnumber7.2Sets the base dot size.
mouseRadiusnumber380Sets the dark cursor influence radius.
trailLengthnumber456Limits how many cursor trail samples are kept.
trailRadiusnumber230Controls the width of the cursor trail influence.
trailFadeMsnumber1200Sets how long trail marks remain visible.
backgroundColorcolor#000000Colors the canvas background.
showDesktopHintbooleantrueShows or hides the desktop hint.

Questions, Answered.

When should I use Dotted Grid?

Use it when Dotted Grid supports the foreground message without harming readability.

Can Dotted Grid ship without WebGL?

Yes if the visual can be handled with CSS or canvas. Do not reach for WebGL unless the hero needs shader-led depth.

How do I protect text contrast with Dotted Grid?

Use masks, fades, lower opacity, and density controls around headings, forms, and CTAs.

Should Dotted Grid pause offscreen?

Animated canvas variants should pause offscreen and when the tab is hidden.

What is the mobile fallback for Dotted Grid?

Reduce density, disable pointer reaction, or switch to a static texture.

Can Hyperiux adapt Dotted Grid for a real brand system?

Yes. A custom version should define motion rules, visual treatment, performance budget, fallback behavior, source handoff, and implementation notes for the specific page or launch context.

Request a Custom Animation

Need a custom effect? Tell us what to create.

Related Effects

Explore All EffectsExplore All EffectsExplore All Effects
Dither Canvas
Pro
canvas-shader

Dither Canvas

Backgrounds

Spider Particles Background
Three.js

Spider Particles Background

Backgrounds

Grid Lift
Pro
canvas

Grid Lift

Backgrounds

Grid Tunnel
Pro
Three.js@react-three/drei@react-three/fiber

Grid Tunnel

WebGL