Retro Grid

Motion

Retro Grid is a React background that draws a perspective grid floor receding to a glowing horizon and scrolling slowly toward the viewer, with angle and cell size props.

src/registry/premium/retro-grid.tsx/r/retro-grid.json

Installation#

bash
npx shadcn@latest add https://ui.minidev.pro/r/retro-grid.json

Usage#

tsx
import { RetroGrid } from "@/components/ui/retro-grid"

export function Example() {
  return <RetroGrid />
}

API reference#

RetroGrid props
PropTypeDefault
anglenumber68
cellSizenumber48
speednumber0.7
horizonnumber56
classNamestring-
childrenReact.ReactNode-

Dependencies#

npm

lucide-reactmotion

Built from

All Animated React components