UI templates
Pick a UI template to include it in the prompt.
Usage with these values
import { CodonHelix } from "@/components/scenes/codon-helix";
export default function Background() {
return (
<CodonHelix
className="h-svh w-full"
coreColor="#f4fbff"
midColor="#4fd8ff"
rimColor="#ff4fa3"
accentColor="#fff27a"
backgroundColor="#03040b"
count={110000}
rungs={26}
rungShare={0.35}
radius={0.95}
turns={3.2}
groove={2.3}
lean={0.45}
pointSize={0.55}
brightness={1}
trail={0.08}
frameGlow={1}
twist={0.25}
readSpeed={0.12}
frameWidth={0.06}
spark={1}
cursorStrength={1}
quality="auto"
/>
);
}Colours
Controls
A full-bleed three.js GPU particle DNA helix: 110k simulated particles form two backbones offset like real DNA (a wide and a narrow groove) joined by two-tone base-pair rungs. A bright reading frame travels up the helix; inside it the rungs flare and the particles spark outward, then spring back. The cursor parts the strands; a click makes the frame burst harder. Colours, counts and motion are all props.
Props
| Prop | Type | Default | Description |
|---|---|---|---|
| coreColor | string (hex colour) | "#f4fbff" | Backbone |
| midColor | string (hex colour) | "#4fd8ff" | Base A |
| rimColor | string (hex colour) | "#ff4fa3" | Base B |
| accentColor | string (hex colour) |
More from Infinity UI
More in 3D Scenes
View all
RemixPebble Cluster
















