
Ribbons of fine fibers that fold through the light.
React Bits brings motion and character to your interface, one copy-paste component at a time.

Ribbons of fine fibers that fold through the light.
React Bits brings motion and character to your interface, one copy-paste component at a time.
Ribbons of fine fibers that fold through the light.
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.
glowColor | '#8b5cf6' | Main color of the fibers. | |
lineColor | Color of the bright folds, sparkles and tips. Leave it out to use a pale tint of the glow color. | ||
secondaryColor | Second color the gradient blends toward. Leave it out to use a deeper shade of the glow color. | ||
gradient | 'depth' | 'along' | 'across' | 'depth' | How the two colors blend: by distance, along the length of the ribbons, or across their width. |
layers | 3 | Number of ribbons, from 1 to 3. | |
waves | How much the ribbons undulate. 0 keeps them straight. | ||
twist | 1.2 | How often the ribbons turn over along their length. | |
volume | 0.7 | Thickness of each ribbon, from a single flat sheet at 0 to a layered bundle. | |
spread | Width of the ribbons. | ||
scale | Size of the whole effect. | ||
rotation | 18 | Tilt of the whole effect, in degrees. | |
perspective | 0.65 | How far the ribbons turn into the distance, from side-on at 0 to steeply receding at 1. | |
threads | 72 | Number of fibers in each ribbon. | |
density | Number of dots along each fiber. | ||
thickness | Size of the dots. | ||
fiberStyle | 'dots' | 'dashes' | 'lines' | 'dots' | Draws the fibers as rows of dots, short dashes or continuous lines. |
tips | Cuts the fibers at different lengths and lights their ends, like fiber optics. | ||
foldGlow | Brightness of the light where the ribbons fold edge-on. | ||
speed | 0.5 | Speed of the waves and the twist. 0 holds them still. | |
flow | 0.4 | Speed of the dots along the fibers. Negative values reverse them. | |
rollSpeed | 0.15 | How fast the ribbons roll around their length. | |
depthOfField | 0.85 | Strength of the camera blur away from the focus. 0 keeps everything sharp. | |
focusDepth | Moves the focus nearer with negative values or farther with positive ones. | ||
particles | 0.5 | Amount of dust floating around the ribbons. | |
sparkle | 0.5 | How often single dots twinkle. | |
glow | 0.8 | Strength of the bloom around the bright areas. | |
brightness | Overall brightness. | ||
vignette | 0.3 | How much the edges fade out, from 0 to 1. | |
grain | 0.06 | Strength of the film grain. | |
mouseInteraction | Lets the view follow the cursor slightly and turns on the hover effect. | ||
hoverEffect | 'focus' | 'part' | 'none' | 'focus' | Pulls the focus to the ribbon under the cursor, parts the fibers around it, or does nothing. |
mouseStrength | Strength of the hover effect. | ||
pulseOnClick | Sends a pulse of light along the ribbon you click. | ||
| Draws the ribbons in from one end when the effect first appears. | |||
lightMode | Draws the fibers as colored ink for light backgrounds. | ||
paused | Freezes the animation. | ||
dpr | auto | Maximum device pixel ratio, capped at 2. | |
| Extra class names for the container. |
glowColorstringMain color of the fibers.
'#8b5cf6'lineColorstringColor of the bright folds, sparkles and tips. Leave it out to use a pale tint of the glow color.
secondaryColorstringSecond color the gradient blends toward. Leave it out to use a deeper shade of the glow color.
gradient'depth' | 'along' | 'across'How the two colors blend: by distance, along the length of the ribbons, or across their width.
'depth'layersnumberNumber of ribbons, from 1 to 3.
3wavesnumberHow much the ribbons undulate. 0 keeps them straight.
twistnumberHow often the ribbons turn over along their length.
1.2volumenumberThickness of each ribbon, from a single flat sheet at 0 to a layered bundle.
0.7spreadnumberWidth of the ribbons.
scalenumberSize of the whole effect.
rotationnumberTilt of the whole effect, in degrees.
18perspectivenumberHow far the ribbons turn into the distance, from side-on at 0 to steeply receding at 1.
0.65threadsnumberNumber of fibers in each ribbon.
72densitynumberNumber of dots along each fiber.
thicknessnumberSize of the dots.
fiberStyle'dots' | 'dashes' | 'lines'Draws the fibers as rows of dots, short dashes or continuous lines.
'dots'tipsnumberCuts the fibers at different lengths and lights their ends, like fiber optics.
foldGlownumberBrightness of the light where the ribbons fold edge-on.
speednumberSpeed of the waves and the twist. 0 holds them still.
0.5flownumberSpeed of the dots along the fibers. Negative values reverse them.
0.4rollSpeednumberHow fast the ribbons roll around their length.
0.15depthOfFieldnumberStrength of the camera blur away from the focus. 0 keeps everything sharp.
0.85focusDepthnumberMoves the focus nearer with negative values or farther with positive ones.
particlesnumberAmount of dust floating around the ribbons.
0.5sparklenumberHow often single dots twinkle.
0.5glownumberStrength of the bloom around the bright areas.
0.8brightnessnumberOverall brightness.
vignettenumberHow much the edges fade out, from 0 to 1.
0.3grainnumberStrength of the film grain.
0.06mouseInteractionbooleanLets the view follow the cursor slightly and turns on the hover effect.
hoverEffect'focus' | 'part' | 'none'Pulls the focus to the ribbon under the cursor, parts the fibers around it, or does nothing.
'focus'mouseStrengthnumberStrength of the hover effect.
pulseOnClickbooleanSends a pulse of light along the ribbon you click.
introbooleanDraws the ribbons in from one end when the effect first appears.
lightModebooleanDraws the fibers as colored ink for light backgrounds.
pausedbooleanFreezes the animation.
dprnumberMaximum device pixel ratio, capped at 2.
autoExtra class names for the container.



