UI templates
Starting…
Pick a UI template to include it in the prompt.
Usage with these values
import { GridCorridor } from "@/components/scenes/grid-corridor";
export default function Background() {
return (
<GridCorridor
className="h-svh w-full"
coreColor="#f4fbff"
midColor="#28d7ff"
rimColor="#a347ff"
accentColor="#e9f6ff"
backgroundColor="#03030a"
width={4}
height={2.6}
cell={0.65}
lineWidth={1.3}
glow={1}
brightness={1}
nodeGlow={0.6}
reflection={0.45}
distance={50}
horizonGlow={0.6}
bloom={0.6}
speed={3}
pulseSpeed={9}
pulseGap={14}
sway={0.5}
swaySpeed={0.2}
parallax={0.35}
burst={1}
quality="auto"
/>
);
}Colours
Controls
A full-bleed three.js corridor of glowing grid lines that you glide down. Bands of light race ahead along the grid, the floor shows a faded mirror image of the walls, and the far end melts into a glow. The corridor sways gently, leans with the cursor and flashes on a click. Colours, shape and motion are all props.
Props
| Prop | Type | Default | Description |
|---|---|---|---|
| coreColor | string (hex colour) | "#f4fbff" | Light bands |
| midColor | string (hex colour) | "#28d7ff" | Near lines |
| rimColor | string (hex colour) | "#a347ff" | Far lines |
| accentColor | string (hex colour) |
More from Infinity UI
More in 3D Scenes
View all
RemixPebble Cluster
















