UI templates
Starting…
Pick a UI template to include it in the prompt.
Usage with these values
import { FluxMorph } from "@/components/scenes/flux-morph";
export default function Background() {
return (
<FluxMorph
className="h-svh w-full"
coreColor="#ffffff"
midColor="#ff9a3c"
rimColor="#c2185b"
accentColor="#ffe08a"
backgroundColor="#07030a"
count={100000}
size={1}
turns={2.5}
thickness={0.12}
cycle={6}
pointSize={0.6}
brightness={1}
trail={0.08}
trailGlow={0.7}
spring={9}
swirl={2.4}
stagger={0.9}
shimmer={0.25}
twist={0.35}
spin={0.04}
cursorStrength={1}
quality="auto"
/>
);
}Colours
Controls
A full-bleed three.js GPU particle morph: 100k particles simulated on the GPU flow between a double helix, a sphere and a torus. On a click, or every few seconds, they let go in a wave that sweeps up the shape, swirl through curl noise and settle into the next form. Colours, counts and motion are all props.
Props
| Prop | Type | Default | Description |
|---|---|---|---|
| coreColor | string (hex colour) | "#ffffff" | Base |
| midColor | string (hex colour) | "#ff9a3c" | Middle |
| rimColor | string (hex colour) | "#c2185b" | Top |
| accentColor | string (hex colour) |
More from Infinity UI
More in 3D Scenes
View all
RemixPebble Cluster
















