UI templates
Starting…
Pick a UI template to include it in the prompt.
Usage with these values
import { BlackHole } from "@/components/scenes/black-hole";
export default function Background() {
return (
<BlackHole
className="h-svh w-full"
coreColor="#fff6e0"
midColor="#ffb347"
rimColor="#b2381e"
accentColor="#ffe9b8"
backgroundColor="#030203"
count={60000}
discWidth={3.6}
halo={0.22}
stars={0.08}
pointSize={0.7}
brightness={1.5}
doppler={0.6}
ringGlow={1}
twinkle={0.25}
bloom={0}
spin={0.35}
lensing={1}
tilt={0.16}
cursorStrength={0.5}
quality="auto"
/>
);
}Colours
Controls
A full-bleed three.js black hole: a thin accretion disc of points on Kepler orbits around a dark horizon, brighter on the side coming toward you, with the far side of the disc bent into a halo, a thin photon ring and background stars pushed aside by lensing. Optional bloom.
Props
| Prop | Type | Default | Description |
|---|---|---|---|
| coreColor | string (hex colour) | "#fff6e0" | Hot |
| midColor | string (hex colour) | "#ffb347" | Middle |
| rimColor | string (hex colour) | "#b2381e" | Cool |
| accentColor | string (hex colour) |
More from Infinity UI
More in 3D Scenes
View all
RemixPebble Cluster
















