UI templates
Starting…
Pick a UI template to include it in the prompt.
Usage with these values
import { GridHorizon } from "@/components/scenes/grid-horizon";
export default function Background() {
return (
<GridHorizon
className="h-svh w-full"
coreColor="#e8f3ff"
midColor="#3d7bff"
rimColor="#ff3fa4"
accentColor="#ffd3a1"
backgroundColor="#04030c"
detail={200}
height={3}
scale={0.16}
ridge={0.7}
valley={0.7}
seed={5}
cell={0.8}
lineWidth={1.2}
lineGlow={1.4}
nodes={0.5}
fill={0.35}
sunHeight={4}
sunSize={1}
horizonGlow={0.7}
haze={0.45}
bloom={0.6}
speed={1.2}
swell={0.8}
ripple={1}
parallax={0.3}
quality="auto"
/>
);
}Colours
Controls
A full-bleed three.js flight over a landscape drawn as a glowing grid: ridged mountains either side of a flat valley floor, lines that run hotter on the peaks, nodes that glint where lines cross and a glowing horizon under a low sun. The cursor lifts a swell in the grid and a click sends a ring along it. Colours, terrain, grid, light and motion are all props.
Props
| Prop | Type | Default | Description |
|---|---|---|---|
| coreColor | string (hex colour) | "#e8f3ff" | Grid lines |
| midColor | string (hex colour) | "#3d7bff" | Land glow |
| rimColor | string (hex colour) | "#ff3fa4" | Peaks and horizon |
| accentColor | string (hex colour) |
More from Infinity UI
More in 3D Scenes
View all
RemixPebble Cluster
















