Skip to content
Premium & Brand

Retro Grid

Server Component

A receding perspective grid floor.

Import

tsx
import { RetroGrid } from "@cronus-ui/ui";
bash
npx cronus-ui add retro-grid

Examples

API Reference

Generated from the component's exported types.

RetroGridProps

Extends HTMLAttributes<HTMLDivElement>

Skip RetroGridProps props table
PropTypeDefaultDescription
ref
Ref<HTMLDivElement>
duration
number8Seconds for one floor-scroll cycle.
angle
number60Perspective tilt of the floor, in degrees.