reactbits.dev
Get started

Lines that flow like silk.

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

Start buildingBrowse components
9:41

Lines that flow like silk.

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

Start buildingBrowse components

Lines that flow like silk.

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

Get startedLearn more
Color Cycle Speed
Speed
0.3
Line Count
72
Line Width
1.3px
Glow
0.6
Brightness
Highlight
Highlight Width
Warp Intensity
Warp Scale
Rotation
-33°
Edge Fade
0
Mouse Influence
2
Opacity

More backgrounds in Pro

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

View all 106
24 properties
color1'#ffffff'First color the lines blend through.
color2'#ffffff'Second color the lines blend through.
color3'#ffffff'Third color the lines blend through.
colorCycleSpeedHow fast the colors drift across the lines. 0 keeps them in place.
speed0.3How fast the waves flow. 0 freezes them.
lineCount72Number of lines across the height of the container.
lineWidth1.3Thickness of the lines, in px.
glow0.6Strength of the soft glow around each line.
brightnessOverall brightness of the lines.
highlightStrength of the band of light that drifts through the lines, from 0 to 1. At 0 every line is lit evenly.
highlightWidthWidth of the band of light. Higher values light more lines at once.
warpIntensityHow strongly the lines bend into waves.
warpScaleSize of the waves. Higher values give broad, sweeping curves.
rotation-33Angle of the lines, in degrees.
edgeFadeFades the lines out toward the edges of the container, from 0 to 1.
enableMouseInteractionThe lines spread apart and light up around the cursor.
mouseInfluence2How strongly the lines react to the cursor.
clickRippleClicking sends a smooth wave rolling out through the lines.
The lines draw in across the container on mount.
lightModeDraws the lines as ink for light backgrounds. Colors turn into deeper inks of the same hue.
opacityOverall opacity, from 0 to 1.
maxDevicePixelRatio2Highest pixel ratio the canvas renders at.
Extra class names for the container.
Inline styles for the container.
color1string

First color the lines blend through.

Default'#ffffff'
color2string

Second color the lines blend through.

Default'#ffffff'
color3string

Third color the lines blend through.

Default'#ffffff'
colorCycleSpeednumber

How fast the colors drift across the lines. 0 keeps them in place.

speednumber

How fast the waves flow. 0 freezes them.

Default0.3
lineCountnumber

Number of lines across the height of the container.

Default72
lineWidthnumber

Thickness of the lines, in px.

Default1.3
glownumber

Strength of the soft glow around each line.

Default0.6
brightnessnumber

Overall brightness of the lines.

highlightnumber

Strength of the band of light that drifts through the lines, from 0 to 1. At 0 every line is lit evenly.

highlightWidthnumber

Width of the band of light. Higher values light more lines at once.

warpIntensitynumber

How strongly the lines bend into waves.

warpScalenumber

Size of the waves. Higher values give broad, sweeping curves.

rotationnumber

Angle of the lines, in degrees.

Default-33
edgeFadenumber

Fades the lines out toward the edges of the container, from 0 to 1.

enableMouseInteractionboolean

The lines spread apart and light up around the cursor.

mouseInfluencenumber

How strongly the lines react to the cursor.

Default2
clickRippleboolean

Clicking sends a smooth wave rolling out through the lines.

introboolean

The lines draw in across the container on mount.

lightModeboolean

Draws the lines as ink for light backgrounds. Colors turn into deeper inks of the same hue.

opacitynumber

Overall opacity, from 0 to 1.

maxDevicePixelRationumber

Highest pixel ratio the canvas renders at.

Default2

Extra class names for the container.

Inline styles for the container.