UI templates
Starting…
Pick a UI template to include it in the prompt.
Usage with these values
import { DriftPlain } from "@/components/scenes/drift-plain";
export default function Background() {
return (
<DriftPlain
className="h-svh w-full"
coreColor="#f2efe8"
midColor="#6d6a66"
rimColor="#c9d6e6"
accentColor="#fff4dc"
backgroundColor="#060607"
count={300}
duneHeight={1}
duneScale={1}
ripples={0.6}
spindrift={0.5}
streak={1}
backlight={1}
haze={0.5}
focus={14}
aperture={0.9}
grain={0.5}
vignette={0.7}
bloom={0.7}
speed={0.5}
streakSpeed={0.5}
lantern={0.6}
gust={1}
parallax={0.35}
quality="auto"
/>
);
}Colours
Controls
A vast night plain of dunes drawn in a few hundred thousand points, backlit by a hidden low light. Wind ripples and gusts stream sand off the crests while one small light skims the dunes and lights the sand beneath it. Near points blur into bokeh and the distance melts into haze. The cursor carries a lantern; a click sends a ring of wind across the plain.
Props
| Prop | Type | Default | Description |
|---|---|---|---|
| coreColor | string (hex colour) | "#f2efe8" | Lit sand |
| midColor | string (hex colour) | "#6d6a66" | Shadow sand |
| rimColor | string (hex colour) | "#c9d6e6" | Crest rim |
| accentColor | string (hex colour) |
More from Infinity UI
More in 3D Scenes
View all
RemixPebble Cluster
















