UI templates
Starting…
Pick a UI template to include it in the prompt.
Usage with these values
import { TidalMerger } from "@/components/scenes/tidal-merger";
export default function Background() {
return (
<TidalMerger
className="h-svh w-full"
coreColor="#fff3dc"
midColor="#ffa65c"
rimColor="#5f8bff"
accentColor="#f4ecff"
backgroundColor="#04030a"
count={52000}
tailShare={0.32}
stars={0.06}
separation={3.6}
tide={0.6}
tailLength={4.2}
tailCurl={1.6}
pointSize={1}
brightness={1.3}
coreGlow={1}
twinkle={0.3}
bloom={0}
orbit={0.05}
spin={0.18}
flow={0.025}
tilt={0.42}
parallax={0.35}
cursorStrength={0.5}
quality="auto"
/>
);
}Colours
Controls
A full-bleed three.js pair of spiral galaxies swinging round each other mid-collision: each disc is stretched toward its partner, long tidal tails of stars stream out and curl behind the orbit, and a faint bridge links the two. Cursor push and a click flare. Colours, form and motion are all props.
Props
| Prop | Type | Default | Description |
|---|---|---|---|
| coreColor | string (hex colour) | "#fff3dc" | Cores |
| midColor | string (hex colour) | "#ffa65c" | Galaxy one |
| rimColor | string (hex colour) | "#5f8bff" | Galaxy two |
| accentColor | string (hex colour) |
More from Infinity UI
More in 3D Scenes
View all
RemixPebble Cluster
















