UI templates
Pick a UI template to include it in the prompt.
Usage with these values
import { DaybreakPass } from "@/components/scenes/daybreak-pass";
export default function Background() {
return (
<DaybreakPass
className="h-svh w-full"
coreColor="#fff6e3"
midColor="#5d8fd6"
rimColor="#ff8a4c"
accentColor="#cfe2ff"
backgroundColor="#03050c"
followScroll={true}
progress={0.5}
smoothing={0.5}
sunStart={-10}
sunEnd={38}
flight={26}
detail={200}
height={1.6}
scale={0.2}
ridge={0.6}
octaves={5}
seed={11}
valley={0.8}
sunAngle={8}
sunStrength={2.4}
ambient={0.3}
haze={0.35}
stars={1}
lines={0.6}
bloom={0.5}
drift={0.2}
climb={0.6}
bank={0.4}
parallax={0.3}
quality="auto"
/>
);
}Colours
Controls
A full-bleed three.js terrain scene for landing pages: a flight up a mountain valley where the sun rises with the page. At the top it is night, with stars and faint contour lines on dark ridges; scrolling flies the camera forward and up while the horizon warms into a sunrise and the sky opens into full day. Sky, sun, land and haze all come from the five colour keys, so a theme recolours the whole day. Follows the window, an element's scroll position or a progress value, with critically damped smoothing. Terrain, light and timing are all props.
Props
| Prop | Type | Default | Description |
|---|---|---|---|
| coreColor | string (hex colour) | "#fff6e3" | Daylight |
| midColor | string (hex colour) | "#5d8fd6" | Day sky |
| rimColor | string (hex colour) | "#ff8a4c" | Sunrise |
More from Infinity UI
More in 3D Scenes
View all
RemixPebble Cluster
















