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 DotGridTightSpacingDemo() {
  return (
    <div style={{ position: "relative", width: "100%", height: "100vh" }}>
      <DotGrid spacing={12} />
    </div>
  );
}

More by halaska-studio

View all
  • Orb

    Orb

    15
  • Segmented Control

    Segmented Control

    8
  • Choicebox

    Choicebox

    6
  • Combobox

    Combobox

    5
  • Dialog

    Dialog

    4
  • Input OTP

    Input OTP

    4
  • Table

    Table

    2
  • Switch

    Switch

    1

More in Backgrounds

View all
  • Elegant Dark Pattern

    Elegant Dark Pattern

    811
  • Gradient Backgrounds

    Gradient Backgrounds

    25
  • Jade Sky

    Jade Sky

    85
  • Light theme Tailwind CSS Background Snippet

    Light theme Tailwind CSS Background Snippet

    221
  • Gradient Blur Bg

    Gradient Blur Bg

    34
  • Background snippets

    Background snippets

    16
  • Background Components

    Background Components

    233
  • LivingOrigami bg

    LivingOrigami bg

    134