halaska-studio

Dot Grid

Backgrounds 6

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

    20
  • Segmented Control

    Segmented Control

    16
  • Combobox

    Combobox

    9
  • Choicebox

    Choicebox

    9
  • Input OTP

    Input OTP

    5
  • Switch

    Switch

    4
  • Dialog

    Dialog

    4
  • Hover Card

    Hover Card

    4

More in Backgrounds

View all
  • Background snippets

    Background snippets

    109
  • Light theme Tailwind CSS Background Snippet

    Light theme Tailwind CSS Background Snippet

    242
  • Elegant Dark Pattern

    Elegant Dark Pattern

    880
  • Tailwind CSS Background Snippet

    Tailwind CSS Background Snippet

    589
  • Gradient Backgrounds

    Gradient Backgrounds

    28
  • Gradient Blur Bg

    Gradient Blur Bg

    31
  • Background Components

    Background Components

    27
  • Jade Sky

    Jade Sky

    99