Grid
Simple grid lines pattern with adjustable thickness and rotation
Props
Prop
Details
colorstringDefault:
#ffffffThe color of the grid lines
colorstringDefault: #ffffffThe color of the grid lines
cellColorstringDefault:
transparentFill color of the cells (transparent = lines only). Pair with Variation for a tiled look.
cellColorstringDefault: transparentFill color of the cells (transparent = lines only). Pair with Variation for a tiled look.
cellsnumberDefault:
10Number of cells along the shortest canvas edge (creates square cells)
cellsnumberDefault: 10Number of cells along the shortest canvas edge (creates square cells)
thicknessnumberDefault:
1Thickness of grid lines (normalized, 0.0-1.0)
thicknessnumberDefault: 1Thickness of grid lines (normalized, 0.0-1.0)
rotationnumberDefault:
0Rotation of the grid in degrees. At 45° this produces a crosshatch/diamond pattern.
rotationnumberDefault: 0Rotation of the grid in degrees. At 45° this produces a crosshatch/diamond pattern.
softnessnumberDefault:
0Softness of the line edges (0 = crisp, 1 = very soft)
softnessnumberDefault: 0Softness of the line edges (0 = crisp, 1 = very soft)
variationnumberDefault:
0Per-cell random lightening/darkening of the cell fill color
variationnumberDefault: 0Per-cell random lightening/darkening of the cell fill color
colorSpace"linear" | "oklch" | "oklab" | "hsl" | "hsv" | "lch"Default:
linearColor space for color interpolation
colorSpace"linear" | "oklch" | "oklab" | "hsl" | "hsv" | "lch"Default: linearColor space for color interpolation