Skip to content
Premium & Brand

Grid Pattern

Server Component

A faint SVG grid behind content.

Import

tsx
import { GridPattern } from "@cronus-ui/ui";
bash
npx cronus-ui add grid-pattern

Examples

API Reference

Generated from the component's exported types.

GridPatternProps

Extends HTMLAttributes<HTMLDivElement>

Skip GridPatternProps props table
PropTypeDefaultDescription
ref
Ref<HTMLDivElement>
size
number24Cell size, in pixels.
strokeWidth
number1Stroke width of the grid lines, in pixels.