UI templates
Pick a UI template to include it in the prompt.
Usage with these values
import { FormShift } from "@/components/scenes/form-shift";
export default function Background() {
return (
<FormShift
className="h-svh w-full"
midColor="#6a8cff"
rimColor="#c56bff"
coreColor="#ffd38a"
accentColor="#5ff2d6"
backgroundColor="#030309"
followScroll={true}
progress={0.5}
smoothing={0.45}
chapters={4}
finishAt={0.75}
hold={0.35}
stagger={0.35}
particleCount={16000}
seed={3}
pointSize={1.6}
brightness={1}
swirl={0.8}
wave={0.5}
scale={1}
backGlow={0.1}
bloom={0.6}
spin={0.12}
turn={0.35}
burst={1}
follow={0.5}
parallax={0.3}
quality="auto"
/>
);
}Colours
Controls
A full-bleed three.js particle scene for landing pages: tens of thousands of glowing particles change shape at each scroll chapter, from a sphere to a double helix, an infinity glyph and a rolling wave field, each chapter in its own colour. Particles leave one form at staggered moments and swirl on the way to the next, then hold while you read; a click scatters them for a moment. Follows the window, an element's scroll position or a progress value, with critically damped smoothing. Chapter count, colours and timing are all props.
Props
| Prop | Type | Default | Description |
|---|---|---|---|
| midColor | string (hex colour) | "#6a8cff" | Chapter 1 (sphere) |
| rimColor | string (hex colour) | "#c56bff" | Chapter 2 (helix) |
| coreColor | string (hex colour) | "#ffd38a" | Chapter 3 (glyph) |
More from Infinity UI
More in 3D Scenes
View all
RemixPebble Cluster
















