UI templates
Starting…
Pick a UI template to include it in the prompt.
Usage with these values
import { HorizonArc } from "@/components/scenes/horizon-arc";
export default function Background() {
return (
<HorizonArc
className="h-svh w-full"
coreColor="#fff5e1"
midColor="#4fb3ff"
rimColor="#5a3cff"
accentColor="#ffd9a0"
backgroundColor="#02030a"
streaks={26}
stars={1600}
altitude={1}
atmosphere={1}
thickness={1}
sunGlow={1}
land={0.6}
cityLights={0.6}
streakGlow={0.8}
starGlow={0.7}
bloom={0.5}
sunAngle={0.15}
spin={0.006}
streakSpeed={0.05}
drift={0.3}
parallax={0.3}
burst={1}
quality="auto"
/>
);
}Colours
Controls
A full-bleed three.js view of a planet's curve from orbit: a dark night side dotted with city lights, a thin atmosphere glowing hottest where the sun sits just behind the limb, light streaks arcing over on their orbits and a sky of stars. A click sends a ripple along the atmosphere. Colours, light and motion are all props.
Props
| Prop | Type | Default | Description |
|---|---|---|---|
| coreColor | string (hex colour) | "#fff5e1" | Sun |
| midColor | string (hex colour) | "#4fb3ff" | Inner sky |
| rimColor | string (hex colour) | "#5a3cff" | Outer sky & land |
| accentColor | string (hex colour) |
More from Infinity UI
More in 3D Scenes
View all
RemixPebble Cluster
















