BackgroundsNew

Retro Grid

An endless perspective floor of lines rolling toward the viewer, drawn with WebGL.

Customize

lineColor
fadeColor

Based on Retro Grid (MIT license) · Terms of use

More in Pro

View all

Props

6 properties
PropertyTypeDefaultDescription
anglenumber65Grid tilt in degrees.
cellSizenumber60Cell size in pixels.
opacitynumber0.5Overall grid opacity.
lineColorstring"rgba(255, 255, 255, 0.6)"Grid line color.
fadeColorstring"#0a0a0a"Color the grid fades into at the bottom. Use your section background.
classNamestring—Tailwind classes for the wrapper.

Dependencies

2 required packages

npm install clsx tailwind-merge

Related components

View all