UINice
ProDesign systemsPro
Site types
Big Tech
Free picks
Hot 100
Design tools
MCP
English
Submit
Sign in
Design tools
All tools
Screenshots & mockups
Social & marketing images
Color
CSS generators
SVG & backgrounds
SVG backgrounds
SVG wave generator
SVG blob generator
Layered peaks generator
Blob scene generator
SVG pattern generator
Dot & grid background
SVG shape divider
Noise texture generator
Blurry gradient background
SVG optimizer
SVG to PNG converter
Typography
Icons & favicons
Image editing
Format conversion

Dot & grid background

.grid-surface {
  background-color: #f1f1f1;
  background-image: radial-gradient(rgba(25, 25, 25, 0.28) 1.5px, transparent 1.5px);
  background-size: 24px 24px;
}
Grid type
Design system colors
Coral FizzPRO→
Code output

What this CSS dot grid generator does

Dot matrices, engineering graph grids, notebook lines, and crosshair registration marks have become signature backgrounds for developer tools, technical landing pages, and interactive canvases. Yet tweaking radial-gradient dot radii, two-axis linear-gradient lines, rgba opacity, and Tailwind arbitrary background-size syntax by hand still wastes time. This free CSS dot grid generator runs locally in your browser with no sign-up and no uploads, letting you tune dots, square grids, horizontal lines, and crosshairs visually and copy ready CSS or Tailwind code in one click.

Unlike rigid static assets that look blurry when zoomed, Dots, Grid, and Lines compile into pure zero-image CSS gradients while Cross uses a tiny inline SVG data URI—adding virtually zero bytes to your bundle.

Whenever you need a matching grid wallpaper for slide decks, pitch mockups, or Figma frames, the built-in HTML5 Canvas renderer exports a crisp 1600×900 PNG locally in your browser.

How to design and export a dot or square grid background

  1. Switch Grid type between Dots (radial dot matrix), Grid (graph-paper squares), Lines (horizontal notebook lines), and Cross (architectural plus markers).
  2. Drag Cell spacing from 10px to 64px to choose how tightly or openly your grid repeats across the surface.
  3. Adjust Dot / line size from 1.0px to 6.0px to shift from razor-thin 1px drafting lines to bold graphic polka dots.
  4. Slide Opacity from 8% to 100% so your grid stays crisp yet unobtrusive behind text and interactive widgets.
  5. Click any swatch under Design system colors to load curated light or dark UINice surface and ink tokens immediately.
  6. Toggle Code output between CSS and Tailwind arbitrary utility classes, click Copy code, or click the download icon to save a 1600×900 PNG named uinice-dot-grid-<kind>.png.

Grid modes, exact bounds, and export specifications

All numeric settings normalize cleanly before generating CSS, Tailwind utilities, or raster canvas output.

  • Supported grid modes (4): Dots (pure CSS radial-gradient), Grid (dual vertical + horizontal CSS linear-gradient), Lines (horizontal CSS linear-gradient), and Cross (minimal URL-encoded inline SVG crosshair).
  • Cell spacing range: 10px to 64px (default 24px), controlling both background-size and canvas step interval.
  • Dot / line size range: 1.0px to 6.0px in 0.5px increments (default 1.5px).
  • Opacity range: 8% to 100% in the panel (default 28%; pure logic clamps 0.06 to 1.00).
  • CSS output format: defines .grid-surface with background-color, background-image, and background-size.
  • Tailwind output format: emits bg-[#hex] bg-[...] bg-[length:<gap>px_<gap>px] with internal gradient spaces escaped as underscores.
  • PNG raster export: renders exact pixel-aligned dots, lines, grids, or crosses onto a 1600×900 HTML5 Canvas locally and saves uinice-dot-grid-<kind>.png.

Tips for clean architectural dot and grid surfaces

  • Align Cell spacing with your design system's 4px or 8px spacing rhythm (such as 16px, 24px, or 32px) so cards and borders sit harmoniously over the grid.
  • Keep Opacity around 12% to 25% on light paper themes and 15% to 30% on dark charcoal themes so typography remains effortlessly legible.
  • Pair a CSS radial mask (mask-image: radial-gradient(ellipse at center, black 40%, transparent 90%)) with your copied grid class to create soft spotlight hero backdrops.
  • Use 1px Grid or Cross at 24px spacing for technical documentation diagrams, workflow builders, and developer product heroes.
  • Export the 1600×900 PNG whenever you need an identical grid texture inside Keynote slides or social announcement images.

Common web design and product UI use cases

Developer platforms, whiteboarding tools, architectural portfolios, changelog headers, and SaaS pricing sections rely on subtle dot and square grids to communicate precision and structure. Pure CSS gradient grids require zero external asset downloads, keep Lighthouse scores fast, and adapt immediately to responsive containers.

Having CSS, Tailwind arbitrary syntax, and 1600×900 PNG export in one workspace lets designers and engineers share the exact same grid rhythm across live web apps, prototypes, and marketing decks.

Interactive node editors, analytics workspaces, changelog timelines, and API documentation pages especially benefit from subtle 16px or 24px dot matrices and fine engineering grids. The repeating background anchors visual alignment across multi-column cards and diagrams without introducing photographic noise or heavy image payloads.

Switching seamlessly between Dots, Grid, Lines, and Cross on the same live canvas makes it fast to evaluate which geometric density pairs naturally with your typography scale, border radius, and shadow depth before committing styles to your repository.

Because Dots, Grid, and Lines compile strictly to CSS gradients with zero external assets, they work reliably even in offline environments, sandboxed iframes, and strict Content Security Policy setups.

Build cohesive grid surfaces from a UINice design system

The tone difference between grid marks and background surface defines whether a technical interface feels refined or harsh. Each preset swatch in this tool loads a UINice design system's native canvas background and foreground ink directly into the live grid preview.

Check the active design system row below the swatches to inspect its name and three signature dots. Grounding your dot and graph surfaces in the same UINice palette used by your buttons, cards, and borders makes every page feel unified from background layer to foreground text.

Comparing light architectural paper palettes alongside high-contrast dark surfaces in a single click helps you lock in exact cell spacing and opacity values that keep headings crisp, form inputs distinct, and exported 1600×900 presentation wallpapers completely aligned with your live web interface.

Whether you embed pure CSS gradients into a documentation layout or drop a matching 1600×900 PNG behind product screenshots, anchoring your grid tokens to one UINice design system keeps technical clarity consistent across every surface.

Questions

Do the Dots, Grid, and Lines modes load any image files?

No. Dots uses pure CSS radial-gradient, while Grid and Lines use pure CSS linear-gradient, so they require zero image files and zero extra HTTP requests.

Can I paste the Tailwind output straight into JSX or HTML?

Yes. Spaces inside the gradient expression are automatically escaped as underscores and paired with bg-[length:<gap>px_<gap>px] so Tailwind compiles the classes directly.

What size is the downloaded PNG grid image?

The download button renders your active grid pattern onto a crisp 1600×900 PNG canvas locally in your browser.

Is any of my configuration uploaded when using this tool?

No. Everything runs locally inside your browser with no sign-up and zero external uploads.

Related tools

SVG backgrounds8 free seamless SVG patterns, no attributionSVG wave generatorMulti-layer organic section wave dividersSVG blob generatorGradient organic SVG blobs in batches of 1–6Layered peaks generatorMulti-layer SVG ridges & free 1920×1080 PNGBlob scene generatorLayered corner blob backdrops in SVG & HD PNGSVG pattern generatorSeamless SVG tiles with spacing, stroke & mix

Drop by · good things our friends made

Kubai Iconsicons.kubai.design
Open-source icons that move: folders open, bells ring
UINice
How the chart worksSubmit a siteBadgePricingTermsPrivacy PolicyRefund PolicyRequest removal
Every site is reviewed by hand. © 2026