
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.

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.
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.
More backgrounds in Pro
Shader scenes and animated surfaces made to sit behind real content.
color | string | number[] | [1, 1, 1] | Color of the threads. Any CSS color, or an RGB array from 0 to 1. |
accentColor | string | number[] | Color the outer threads blend toward. Leave it out for a single color. | |
lineCount | 90 | Number of threads. | |
thickness | 0.6 | Width of the threads. | |
softness | 1.3 | How much the threads soften as they separate. 0 keeps every thread crisp. | |
amplitude | 1.7 | Height of the waves. | |
distance | 0.4 | Spacing between the threads. 0 starts them all from a single line. | |
waves | 1.05 | How many waves run along each thread. | |
speed | 0.6 | Animation speed. 0 holds the threads still. | |
split | 0.04 | Where the first thread leaves the bundle, from 0 at the start to 1 at the end. | |
fray | 0.5 | How gradually the other threads peel away after the first one. | |
angle | 25 | Direction of the threads in degrees. | |
taper | 0.85 | How much the outer threads fade away, from 0 for all equally bright to 1. | |
brightness | 1.4 | Brightness of the threads, from 0.25 to 2. | |
parting | How far the threads move aside around the cursor, from 0 to 1. | ||
enableMouseInteraction | Lets the cursor steer the waves: moving sideways shifts them and moving up and down changes their height. | ||
fade | Fades the edges into the page, from 0 to 1. | ||
opacity | Opacity of the whole effect. | ||
seed | Changes the wave pattern. | ||
paused | Freezes 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.
[1, 1, 1]accentColorstring | number[]Color the outer threads blend toward. Leave it out for a single color.
lineCountnumberNumber of threads.
90thicknessnumberWidth of the threads.
0.6softnessnumberHow much the threads soften as they separate. 0 keeps every thread crisp.
1.3amplitudenumberHeight of the waves.
1.7distancenumberSpacing between the threads. 0 starts them all from a single line.
0.4wavesnumberHow many waves run along each thread.
1.05speednumberAnimation speed. 0 holds the threads still.
0.6splitnumberWhere the first thread leaves the bundle, from 0 at the start to 1 at the end.
0.04fraynumberHow gradually the other threads peel away after the first one.
0.5anglenumberDirection of the threads in degrees.
25tapernumberHow much the outer threads fade away, from 0 for all equally bright to 1.
0.85brightnessnumberBrightness of the threads, from 0.25 to 2.
1.4partingnumberHow far the threads move aside around the cursor, from 0 to 1.
enableMouseInteractionbooleanLets the cursor steer the waves: moving sideways shifts them and moving up and down changes their height.
fadenumberFades the edges into the page, from 0 to 1.
opacitynumberOpacity of the whole effect.
seednumberChanges the wave pattern.
pausedbooleanFreezes the animation.
Extra class names for the container.



