
Luminous threads woven to a glowing pinch.
React Bits brings motion and character to your interface, one copy-paste component at a time.

Luminous threads woven to a glowing pinch.
React Bits brings motion and character to your interface, one copy-paste component at a time.
Luminous threads woven to a glowing pinch.
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.
colors | string[] | ['#5227FF', '#FF9FFC'] | Gradient across the threads, from the first thread to the last. Up to six colors. |
coreColor | '#FFFFFF' | Hot color where threads overlap and converge. | |
backgroundColor | 'transparent' | Fills the canvas behind the threads. Transparent lets the page show through. | |
lightMode | Draws crisp ink strokes for light backgrounds instead of glowing light. | ||
threadCount | 6 | Number of threads, up to 24. | |
speed | 0.2 | How fast the threads weave. | |
frequency | 5 | How many waves fit across the width. | |
spread | 0.18 | How far the threads fan away from the pinch. | |
taper | How much wider each next thread swings, nesting them inside each other. | ||
position | 0.5 | Height of the weave, from bottom 0 to top 1. | |
pinch | 0.5 | Where the threads converge across the width, from 0 to 1. | |
nodes | Number of pinch points. More than one braids the threads through each of them. | ||
angle | Rotation of the whole weave in degrees. | ||
glow | 0.02 | Strength of the light around each thread. | |
falloff | 0.6 | How quickly the glow fades. Higher is tighter. | |
thickness | 1.1 | Width of the threads. | |
brightness | 0.6 | Overall brightness. | |
opacity | Opacity of the whole effect. | ||
depth | Twists the threads in 3D, so strands behind the bundle turn thinner and dimmer. | ||
pulses | Strength of light pulses that travel along the threads toward the pinch. | ||
mirror | Weaves each side of the pinch as a mirror. | ||
shimmer | Adds a gentle, uneven sway to each thread. | ||
fade | Fades the threads out toward both ends so they melt into the page. | ||
grain | 0.05 | Film grain in the light. 0 turns it off. | |
| Draws the threads in one after another the first time they come into view, each led by a soft light. | |||
mouseInteraction | The strand nearest the cursor lights up while the others recede. | ||
mouseStrength | 0.5 | How strongly the focused strand stands out from the rest. | |
pulseOnClick | Clicking sends light along every thread, gathering in the pinch and fading out the far side. | ||
paused | Freezes the weaving. | ||
dpr | 2 | Maximum device pixel ratio of the canvas. | |
| Extra class names for the container. | |||
| Inline styles for the container. |
colorsstring[]Gradient across the threads, from the first thread to the last. Up to six colors.
['#5227FF', '#FF9FFC']coreColorstringHot color where threads overlap and converge.
'#FFFFFF'backgroundColorstringFills the canvas behind the threads. Transparent lets the page show through.
'transparent'lightModebooleanDraws crisp ink strokes for light backgrounds instead of glowing light.
threadCountnumberNumber of threads, up to 24.
6speednumberHow fast the threads weave.
0.2frequencynumberHow many waves fit across the width.
5spreadnumberHow far the threads fan away from the pinch.
0.18tapernumberHow much wider each next thread swings, nesting them inside each other.
positionnumberHeight of the weave, from bottom 0 to top 1.
0.5pinchnumberWhere the threads converge across the width, from 0 to 1.
0.5nodesnumberNumber of pinch points. More than one braids the threads through each of them.
anglenumberRotation of the whole weave in degrees.
glownumberStrength of the light around each thread.
0.02falloffnumberHow quickly the glow fades. Higher is tighter.
0.6thicknessnumberWidth of the threads.
1.1brightnessnumberOverall brightness.
0.6opacitynumberOpacity of the whole effect.
depthnumberTwists the threads in 3D, so strands behind the bundle turn thinner and dimmer.
pulsesnumberStrength of light pulses that travel along the threads toward the pinch.
mirrorbooleanWeaves each side of the pinch as a mirror.
shimmerbooleanAdds a gentle, uneven sway to each thread.
fadenumberFades the threads out toward both ends so they melt into the page.
grainnumberFilm grain in the light. 0 turns it off.
0.05introbooleanDraws the threads in one after another the first time they come into view, each led by a soft light.
mouseInteractionbooleanThe strand nearest the cursor lights up while the others recede.
mouseStrengthnumberHow strongly the focused strand stands out from the rest.
0.5pulseOnClickbooleanClicking sends light along every thread, gathering in the pinch and fading out the far side.
pausedbooleanFreezes the weaving.
dprnumberMaximum device pixel ratio of the canvas.
2Extra class names for the container.
Inline styles for the container.



