reactbits.dev
Get started

Not to be confused with the Threads app by Meta!

React Bits brings motion and character to your interface, one copy-paste component at a time.

Start buildingBrowse components
9:41

Not to be confused with the Threads app by Meta!

React Bits brings motion and character to your interface, one copy-paste component at a time.

Start buildingBrowse components

Not to be confused with the Threads app by Meta!

React Bits brings motion and character to your interface, one copy-paste component at a time.

Get startedLearn more
Line Count
90
Thickness
0.6
Softness
1.3
Amplitude
1.7
Distance
0.4
Waves
1.05
Speed
0.6
Split
0.04
Fray
0.5
Angle
25°
Taper
0.85
Brightness
1.4
Parting
0
Fade
0
Opacity
Seed
0

More backgrounds in Pro

Shader scenes and animated surfaces made to sit behind real content.

View all 106
21 properties
colorstring | number[][1, 1, 1]Color of the threads. Any CSS color, or an RGB array from 0 to 1.
accentColorstring | number[]Color the outer threads blend toward. Leave it out for a single color.
lineCount90Number of threads.
thickness0.6Width of the threads.
softness1.3How much the threads soften as they separate. 0 keeps every thread crisp.
amplitude1.7Height of the waves.
distance0.4Spacing between the threads. 0 starts them all from a single line.
waves1.05How many waves run along each thread.
speed0.6Animation speed. 0 holds the threads still.
split0.04Where the first thread leaves the bundle, from 0 at the start to 1 at the end.
fray0.5How gradually the other threads peel away after the first one.
angle25Direction of the threads in degrees.
taper0.85How much the outer threads fade away, from 0 for all equally bright to 1.
brightness1.4Brightness of the threads, from 0.25 to 2.
partingHow far the threads move aside around the cursor, from 0 to 1.
enableMouseInteractionLets the cursor steer the waves: moving sideways shifts them and moving up and down changes their height.
fadeFades the edges into the page, from 0 to 1.
opacityOpacity of the whole effect.
seedChanges the wave pattern.
pausedFreezes the animation.
Extra class names for the container.
colorstring | number[]

Color of the threads. Any CSS color, or an RGB array from 0 to 1.

Default[1, 1, 1]
accentColorstring | number[]

Color the outer threads blend toward. Leave it out for a single color.

lineCountnumber

Number of threads.

Default90
thicknessnumber

Width of the threads.

Default0.6
softnessnumber

How much the threads soften as they separate. 0 keeps every thread crisp.

Default1.3
amplitudenumber

Height of the waves.

Default1.7
distancenumber

Spacing between the threads. 0 starts them all from a single line.

Default0.4
wavesnumber

How many waves run along each thread.

Default1.05
speednumber

Animation speed. 0 holds the threads still.

Default0.6
splitnumber

Where the first thread leaves the bundle, from 0 at the start to 1 at the end.

Default0.04
fraynumber

How gradually the other threads peel away after the first one.

Default0.5
anglenumber

Direction of the threads in degrees.

Default25
tapernumber

How much the outer threads fade away, from 0 for all equally bright to 1.

Default0.85
brightnessnumber

Brightness of the threads, from 0.25 to 2.

Default1.4
partingnumber

How far the threads move aside around the cursor, from 0 to 1.

enableMouseInteractionboolean

Lets the cursor steer the waves: moving sideways shifts them and moving up and down changes their height.

fadenumber

Fades the edges into the page, from 0 to 1.

opacitynumber

Opacity of the whole effect.

seednumber

Changes the wave pattern.

pausedboolean

Freezes the animation.

Extra class names for the container.