reactbits.dev
Get started

Let a little light into your next launch

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

Start buildingBrowse components
9:41

Let a little light into your next launch

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

Start buildingBrowse components

Let a little light into your next launch

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

Get startedLearn more
Colors
Angle
20°
Blind Count
16
Min Blind Width
60px
Spotlight Radius
0.5
Spotlight Softness
Spotlight Opacity
Shine
0.4
Relief
0.5
Glow
0.4
Sway
0.35
Speed
Hover Tilt
0.6
Perspective
0
Gradient Speed
0
Distort
0
Noise
0.3
Mouse Dampening
0.15s

More backgrounds in Pro

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

View all 106
30 properties
gradientColorsstring[]['#FF9FFC', '#5227FF']Colors of the gradient across the blinds, up to 8. One color is used for every blind.
angleRotation of the blinds in degrees. 0 stands them upright.
blindCount16Number of blinds. Acts as an upper limit when blindMinWidth is set.
blindMinWidth60Narrowest a blind can get, in px. Fewer blinds are drawn on small screens to respect it.
shineDirection'left' | 'right''left'Which edge of each blind catches the light.
lightColor'#ffffff'Color of the light that falls on the blinds. Warm or cool whites change the mood.
spotlightRadius0.5Size of the light around the cursor, relative to the area.
spotlightSoftnessHow the light fades toward its edge. Higher values keep it brighter for longer, then drop off.
spotlightOpacityStrength of the light.
shine0.4Soft highlight along the lit edge of each blind, strongest near the light, from 0 (matte) to 1.
relief0.5Depth of the shadow where each blind tucks under the next, from 0 (flat) to 1.
glow0.4Soft haze of colored light around the cursor.
sway0.35How much the blinds drift and turn on their own, as if in a breeze.
speedSpeed of the sway and of the drifting light.
hoverTilt0.6How much the blinds near the cursor turn toward the light and brighten, from 0 to 1.
clickEffect'ripple' | 'none''ripple'Clicking sends a wave of light through the blinds, from slat to slat outward from the click.
idle'drift' | 'center' | 'stay''drift'What the light does while the cursor is away: wander slowly, return to the middle, or stay put.
perspectiveMakes the blinds recede to one side like a window seen at an angle, from -1 to 1.
gradientSpeedDrifts the colors across the blinds over time. 0 keeps them still.
mirrorGradientRuns the gradient forward and back again instead of once across.
distortAmountBends the blinds into soft waves.
noise0.3Strength of the film grain, from 0 (clean) to 1.
mouseDampening0.15How long the light takes to catch up with the cursor, in seconds. 0 follows instantly.
Fades the light in while the blinds turn into place on mount.
pausedFreezes the current frame.
mixBlendMode'lighten'CSS blend mode of the blinds over the page in dark mode, so dark areas show the page behind.
lightModeDraws the blinds as clean colored light on a white page.
dprautoMaximum device pixel ratio, capped at 2.
Extra class names for the container.
Inline styles for the container.
gradientColorsstring[]

Colors of the gradient across the blinds, up to 8. One color is used for every blind.

Default['#FF9FFC', '#5227FF']
anglenumber

Rotation of the blinds in degrees. 0 stands them upright.

blindCountnumber

Number of blinds. Acts as an upper limit when blindMinWidth is set.

Default16
blindMinWidthnumber

Narrowest a blind can get, in px. Fewer blinds are drawn on small screens to respect it.

Default60
shineDirection'left' | 'right'

Which edge of each blind catches the light.

Default'left'
lightColorstring

Color of the light that falls on the blinds. Warm or cool whites change the mood.

Default'#ffffff'
spotlightRadiusnumber

Size of the light around the cursor, relative to the area.

Default0.5
spotlightSoftnessnumber

How the light fades toward its edge. Higher values keep it brighter for longer, then drop off.

spotlightOpacitynumber

Strength of the light.

shinenumber

Soft highlight along the lit edge of each blind, strongest near the light, from 0 (matte) to 1.

Default0.4
reliefnumber

Depth of the shadow where each blind tucks under the next, from 0 (flat) to 1.

Default0.5
glownumber

Soft haze of colored light around the cursor.

Default0.4
swaynumber

How much the blinds drift and turn on their own, as if in a breeze.

Default0.35
speednumber

Speed of the sway and of the drifting light.

hoverTiltnumber

How much the blinds near the cursor turn toward the light and brighten, from 0 to 1.

Default0.6
clickEffect'ripple' | 'none'

Clicking sends a wave of light through the blinds, from slat to slat outward from the click.

Default'ripple'
idle'drift' | 'center' | 'stay'

What the light does while the cursor is away: wander slowly, return to the middle, or stay put.

Default'drift'
perspectivenumber

Makes the blinds recede to one side like a window seen at an angle, from -1 to 1.

gradientSpeednumber

Drifts the colors across the blinds over time. 0 keeps them still.

mirrorGradientboolean

Runs the gradient forward and back again instead of once across.

distortAmountnumber

Bends the blinds into soft waves.

noisenumber

Strength of the film grain, from 0 (clean) to 1.

Default0.3
mouseDampeningnumber

How long the light takes to catch up with the cursor, in seconds. 0 follows instantly.

Default0.15
introboolean

Fades the light in while the blinds turn into place on mount.

pausedboolean

Freezes the current frame.

mixBlendModestring

CSS blend mode of the blinds over the page in dark mode, so dark areas show the page behind.

Default'lighten'
lightModeboolean

Draws the blinds as clean colored light on a white page.

dprnumber

Maximum device pixel ratio, capped at 2.

Defaultauto

Extra class names for the container.

Inline styles for the container.