Backgrounds
Perspective floor grid
Perspective floor grid: A grid plane tilted away from the camera so it recedes to a horizon and slides toward the viewer on a seamless one-cell loop.
Using Perspective floor grid
Perspective floor grid uses the wide preview frame with a dark theme setting.
Customize the preview
These controls are passed to the demo. Defaults and limits describe the preview; consult the implementation for its full prop API.
| Control | Type | Default | Preview limits |
|---|---|---|---|
angle | number | 65 | From 20 to 89; step 1 |
cellSize | number | 60 | From 20 to 140; step 4 |
speed | number | 15 | From 4 to 40; step 1 |
lineColor | color | #38BDF8 | No additional limit in the metadata. |
opacity | number | 0.5 | From 0.1 to 1; step 0.05 |
Which frameworks are available for Perspective floor grid?
Perspective floor grid is available for React, Vue, Svelte, Astro, HTML. The live preview uses React; the source observations below apply to index.tsx. Check the selected port before relying on the same interactions.
What does Perspective floor grid depend on?
The React metadata lists these npm dependencies beyond React: clsx.
What accessibility details are visible in Perspective floor grid?
The React source for Perspective floor grid includes: attributes and handlers (aria-hidden). These are source observations. Verify accessible names, focus order and keyboard behavior in the composed page.
How does Perspective floor grid handle reduced motion?
Perspective floor grid reads the motion preference in its React source through matchMedia(prefers-reduced-motion). Check the full implementation, shared styles and selected port with reduced motion enabled; these observations do not establish that every animation stops.