Back

Dot Pattern

Satu Visual ComponentNew

A dotted-grid background with a soft radial fade.

Dot Pattern

Installation

Add it with the CLI:

Terminal

$

Or open the Code tab above and copy it in manually — it relies on the standard cn() helper from @/lib/utils.

Usage

Use as a section wrapper; content goes in as children above the dots.

Props

PropTypeDefaultDescription
childrenReactNodeForeground content.
classNamestringExtra classes (set height here).
gapnumber20Spacing between dots, px.
sizenumber1Dot radius, px.