UI templates
Pick a UI template to include it in the prompt.
Usage with these values
import { HelixDrift } from "@/components/scenes/helix-drift";
export default function Background() {
return (
<HelixDrift
className="h-svh w-full"
coreColor="#f0f7ff"
midColor="#7aa8ff"
rimColor="#c45cff"
accentColor="#5cffd6"
backgroundColor="#040410"
count={100000}
fragments={70}
rungShare={0.3}
fragmentSize={1}
depth={1}
pointSize={0.5}
brightness={1}
focus={8.5}
aperture={0.35}
trail={0}
drift={0.25}
spinSpeed={0.6}
tumble={0.3}
burst={1}
cursorStrength={1}
quality="auto"
/>
);
}Colours
Controls
A full-bleed three.js GPU particle field of short double-helix fragments drifting on a slow current, each turning about its own axis and tumbling a little. A focus distance keeps the middle of the field sharp; fragments nearer or farther swell into soft, dim discs like a shallow depth of field. The cursor nudges fragments aside; a click scatters them for a moment. Colours, counts and motion are all props.
Props
| Prop | Type | Default | Description |
|---|---|---|---|
| coreColor | string (hex colour) | "#f0f7ff" | Light |
| midColor | string (hex colour) | "#7aa8ff" | Middle |
| rimColor | string (hex colour) | "#c45cff" | Deep |
| accentColor | string (hex colour) |
More from Infinity UI
More in 3D Scenes
View all
RemixPebble Cluster
















