MantleUI

GridPlane

A retro-futuristic scrolling grid plane with perspective and fade effects. Built with Three.js and @react-three/fiber.

Interactive Demo

Loading grid plane...

Color

Speed: 1.0

Usage

import { GridPlane } from "@mantleui/react/three";
<GridPlane
color="#3b82f6"
speed={1}
height={400}
/>

Props

color"#3b82f6"
string

Grid line color.

speed1
number

Scroll speed multiplier.

gridSize20
number

Grid size.

divisions20
number

Number of grid divisions.

fadeDistance15
number

Distance at which the grid fades.

height400
string | number

Height of the container.

backgroundColor"transparent"
string

Background color of the container.

© 2026 MantleUI. All rights reserved.