Skip to main content
An interactive background grid pattern made with SVGs, fully customizable. This component creates an SVG-based grid pattern that responds to user interaction.

Props

Prop NameTypeDefaultDescription
classNamestring-Additional classes for styling the component.
squaresClassNamestring-Additional classes for styling the squares.
widthnumber40Width of the square in pixels.
heightnumber40Height of the square in pixels.
squares[number, number][24, 24]Number of squares in the grid pattern.

Credits

Build docs developers (and LLMs) love