Lightspeed

Hyperspace light streak effect with click interaction

lightspeed-tw

Customize

Animation

0.5
1
0
1

Streak Settings

128
0.05
2

Colors

#5227FF
#FF9FFC
#B19EEF

Performance

60

Props

widthnumber | string

Width of the component in pixels or CSS value

Default:"100%"
heightnumber | string

Height of the component in pixels or CSS value

Default:"100%"
speednumber

Animation speed multiplier

Default:1.0
primaryColorstring

Primary streak color in hex format

Default:"#FF5722"
secondaryColorstring

Secondary streak color in hex format

Default:"#2196F3"
tertiaryColorstring

Tertiary streak color in hex format

Default:"#4CAF50"
streakCountnumber

Number of horizontal streak columns

Default:128
stretchFactornumber

Vertical stretch factor of streaks

Default:0.05
intensitynumber

Overall intensity/brightness multiplier

Default:1.0
interactionEnabledboolean

Enable compression on mouse click

Default:true
rotationnumber

Rotation angle in radians

Default:0
fadePowernumber

Distance-based fade multiplier

Default:2.0
opacitynumber

Overall opacity (0-1)

Default:1.0
quality"low" | "medium" | "high"

Quality preset for performance/visual tradeoff

Default:"medium"
maxFPSnumber

Maximum frames per second cap

Default:60
pauseWhenOffscreenboolean

Pause rendering when component is off-screen

Default:true
classNamestring

Additional CSS classes

Default:""
childrenReact.ReactNode

Content to render on top of the effect

Default:undefined