UI templates
Starting…
Pick a UI template to include it in the prompt.
Usage with these values
import { DuneSea } from "@/components/scenes/dune-sea";
export default function Background() {
return (
<DuneSea
className="h-svh w-full"
coreColor="#fff1dc"
midColor="#c27a4a"
rimColor="#d9906a"
accentColor="#fff4e0"
backgroundColor="#160d10"
detail={220}
height={1.4}
spacing={1}
sharpness={0.75}
ripples={0.5}
seed={11}
dust={0.5}
haze={0.5}
sunHeight={9}
sunAngle={-25}
sunStrength={2}
ambient={0.3}
bloom={0.35}
speed={0.25}
wind={0.5}
swell={0.8}
ripple={1}
parallax={0.3}
quality="auto"
/>
);
}Colours
Controls
A full-bleed three.js sea of sand dunes under a soft, low sun. Sharp-crested dunes roll slowly past, wind ripples catch the light on their faces and banks of dust drift through the valleys into the haze on the horizon. The cursor lifts a swell of sand and a click sends a ring through it. Colours, dunes, dust, light and motion are all props.
Props
| Prop | Type | Default | Description |
|---|---|---|---|
| coreColor | string (hex colour) | "#fff1dc" | Sunlit sand |
| midColor | string (hex colour) | "#c27a4a" | Sand |
| rimColor | string (hex colour) | "#d9906a" | Dust haze |
| accentColor | string (hex colour) |
More from Infinity UI
More in 3D Scenes
View all
RemixPebble Cluster
















