Grid Pattern
Server ComponentA 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>
| Prop | Type | Default | Description |
|---|---|---|---|
ref | Ref<HTMLDivElement> | — | — |
size | number | 24 | Cell size, in pixels. |
strokeWidth | number | 1 | Stroke width of the grid lines, in pixels. |