UI templates
Starting…
Pick a UI template to include it in the prompt.
Usage with these values
import { Spindrift } from "@/components/scenes/spindrift";
export default function Background() {
return (
<Spindrift
className="h-svh w-full"
coreColor="#e3f6ff"
midColor="#0e3f9c"
rimColor="#52b6ff"
accentColor="#f4fbff"
backgroundColor="#01040f"
count={280}
waveHeight={1}
waveLength={1}
chop={0.6}
spray={0.7}
horizonGlow={1}
glitter={1}
haze={0.5}
focus={12}
aperture={0.8}
grain={0.45}
vignette={0.6}
bloom={0.65}
speed={0.6}
wind={1}
swell={0.8}
ripple={1}
parallax={0.3}
quality="auto"
/>
);
}Colours
Controls
An open ocean drawn entirely in glowing points. Long swells roll in from a bright horizon, their crests catch the light and tear into wind-blown spray, and a glitter path runs from the horizon glow to the lens. Far water melts into haze and near points blur into bokeh. The cursor raises the sea beneath it; a click sends a ring of waves out.
Props
| Prop | Type | Default | Description |
|---|---|---|---|
| coreColor | string (hex colour) | "#e3f6ff" | Crests |
| midColor | string (hex colour) | "#0e3f9c" | Deep water |
| rimColor | string (hex colour) | "#52b6ff" | Horizon glow |
| accentColor | string (hex colour) |
More from Infinity UI
More in 3D Scenes
View all
RemixPebble Cluster
















