Components

Grid Scene

Canvas-based perspective grid with both a floor and a mirrored ceiling meeting at a shared glowing horizon — classic synthwave room effect.

npx neonblade add grid-scene

Default grid scene

Wide gap

Pink synthwave

Floor only (no ceiling)

Ceiling only (no floor)

Static green wireframe

Props Configuration

PropTypeDefaultDescription
horizonnumber0.5Horizon line as a fraction of container height (0–1). 0.5 = vertical center.
gapnumber0.08Empty space between floor and ceiling as a fraction of container height (0–1). Increase for a wider gap around the horizon.
columnsnumber24Number of vertical perspective lines on each plane.
rowsnumber18Number of horizontal grid rows receding into the distance per plane.
lineColorstring"#00f3ff"Color of the grid lines.
glowColorstring"#00f3ff"Glow color applied as a drop-shadow to the lines.
bgColorstring"#050505"Background fill color behind the grid.
speednumber0.6Speed of the forward scrolling animation. Set to 0 to disable motion.
opacitynumber0.85Maximum opacity of the grid lines (0–1).
lineWidthnumber1Grid line width in pixels.
showFloorbooleantrueWhether to render the floor grid (below the horizon).
showCeilingbooleantrueWhether to render the ceiling grid (mirrored above the horizon).
classNamestringundefinedAdditional CSS classes for the canvas element.