UI templates
Pick a UI template to include it in the prompt.
Usage with these values
import { Caldera } from "@/components/scenes/caldera";
export default function Background() {
return (
<Caldera
className="h-svh w-full"
coreColor="#fff1c9"
midColor="#ff6a1a"
rimColor="#b3200c"
accentColor="#8a7f7a"
backgroundColor="#06070b"
count={80000}
coneHeight={2.4}
craterSize={0.55}
seed={7}
quality="auto"
strength={1}
eruptEvery={10}
clickPower={1}
gravity={4}
drag={0.3}
wind={0.35}
lavaGlow={1}
smokeDensity={0.8}
embers={0.5}
bloom={0.6}
framing="center"
heroSafe={0.3}
parallax={0.3}
/>
);
}Colours
Controls
A full-bleed three.js volcano made for a hero section: a dark night, a glowing crater, lava rivers crawling down the gullies under a cracked crust, a slow ash plume and faint embers. Every few seconds, or on a click, it erupts: up to 100k GPU-simulated lava bombs fly on ballistic arcs with air drag, land on the slopes, bounce, slide and cool from white-hot to dark rock while the ash column surges. Framing moves the cone left or right of your headline and dims the text side; quality, colours, eruption rhythm, gravity, wind and glow are all props.
Props
| Prop | Type | Default | Description |
|---|---|---|---|
| coreColor | string (hex colour) | "#fff1c9" | Hottest lava |
| midColor | string (hex colour) | "#ff6a1a" | Lava |
| rimColor | string (hex colour) | "#b3200c" | Glow and embers |
More from Infinity UI
More in 3D Scenes
View all
RemixPebble Cluster
















