UI templates
Starting…
Pick a UI template to include it in the prompt.
Usage with these values
import { CumulusDrift } from "@/components/scenes/cumulus-drift";
export default function Background() {
return (
<CumulusDrift
className="h-svh w-full"
sunColor="#ffa850"
cloudLight="#ffd0a0"
cloudShade="#34406a"
skyTop="#22336b"
backgroundColor="#f09a55"
cover={0.5}
density={1}
softness={0.4}
detail={0.6}
flightSpeed={0.7}
drift={0.3}
parallax={0.4}
sunHeight={9}
sunAngle={14}
glow={1}
rays={0.6}
haze={0.5}
stars={0}
partRadius={0.16}
flashStrength={1}
quality="auto"
/>
);
}Colours
Controls
A slow flight through deep, soft cloud lit from behind by a low sun, drawn as a real volume. The cursor parts the cloud along its line of sight and a click lets the sun break through. Phones and slow devices march fewer steps at a smaller size; reduced motion shows one still frame.
Props
| Prop | Type | Default | Description |
|---|---|---|---|
| sunColor | string (hex colour) | "#ffa850" | Colour of the sun, its halo, the shafts of light and the glowing cloud edges; on a light sky it is drawn as ink. |
| cloudLight | string (hex colour) | "#ffd0a0" | Colour of the parts of a cloud that the sunlight reaches. |
| cloudShade | string (hex colour) | "#34406a" | Colour of the shadowed side and the deep inside of the clouds. |
| skyTop |
More from Infinity UI
More in 3D Scenes
View all
RemixPebble Cluster
















