Components

Neon Cascade

Three.js field of vertical light lines that bend forward into the camera as they fall. Flowing or static, with a quarter-arc bend, tip colour, sway, glow, and pointer parallax.

npx neonblade add neon-cascade

Neon
Cascade

Props Configuration

PropTypeDefaultDescription
colorstring"#00f3ff"Primary line colour (hex, rgb or hsl).
tipColorstringundefinedColour the lines blend into as they bend toward the camera. Omit for a single-colour look (defaults to color).
bgColorstring"#050505"Scene background colour (hex, rgb or hsl).
lineCountnumber64Number of vertical lines (1–220).
lineWidthnumber0.09Ribbon width of each line in world units.
spannumber30Horizontal spread of the line field in world units.
lineHeightnumber20Length of the straight vertical fall in world units.
curveHeightnumber0.5Fraction of the fall (0–1) where the forward bend begins. Higher values keep the lines straight for longer.
curveAmountnumber5Bend radius and forward depth in world units — how far the line tips reach toward the camera.
curvePowernumber1Bend easing. 1 is a circular quarter-arc; higher values make the bend start later and sharper.
swaynumber0.25Lateral sine sway amplitude in world units.
swayFrequencynumber0.6Number of sway cycles along each line.
swaySpeednumber0.35Speed of the sway animation.
flowbooleantrueAnimates bright pulses travelling down each line. Disable for static blades.
flowSpeednumber0.4Travel speed of the flowing pulses.
flowLengthnumber0.35Pulse length as a fraction of one flow cycle (0–1).
flowDensitynumber1.2Number of pulses per line.
glownumber1.6Halo / glow intensity around each line.
opacitynumber100Overall scene opacity (0–100).
cameraDistancenumber16Camera distance from the scene in world units.
cameraFovnumber50Camera field of view in degrees (20–110).
parallaxbooleantrueSubtle pointer-driven camera parallax.
parallaxStrengthnumber1Parallax travel in world units.
classNamestringundefinedExtra class names applied to the wrapper div.