halaska-studio

Dot Grid

Backgrounds 7

About

A decorative dot-pattern background that fills its nearest positioned parent, useful for giving a card, panel, or canvas area a subtle grid texture behind other content.

Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Dot Grid to your project and fits it to your theme.

Code

How Dot Grid is used: the demo's code. The component's own source comes with a free account.

Usage.tsx

import DotGrid from "@/components/ui/dot-grid";

export default function DotGridWideSpacingDemo() {
  return (
    <div style={{ position: "relative", width: "100%", height: "100vh" }}>
      <DotGrid spacing={32} />
    </div>
  );
}

More by halaska-studio

View all
  • Orb

    Orb

    26
  • Segmented Control

    Segmented Control

    20
  • Combobox

    Combobox

    14
  • Choicebox

    Choicebox

    13
  • Table

    Table

    8
  • Input OTP

    Input OTP

    8
  • Switch

    Switch

    6
  • Dialog

    Dialog

    6

More in Backgrounds

View all
  • Jade Sky

    Jade Sky

    116
  • Elegant Dark Pattern

    Elegant Dark Pattern

    943
  • Honey Ember Background

    Honey Ember Background

    100
  • Gradient Backgrounds

    Gradient Backgrounds

    33
  • Tailwind CSS Background Snippet

    Tailwind CSS Background Snippet

    623
  • Background snippets

    Background snippets

    116
  • Gradient Blur Bg

    Gradient Blur Bg

    38
  • Gradient Background 4

    Gradient Background 4

    306