
Let a little light into your next launch
React Bits brings motion and character to your interface, one copy-paste component at a time.

Let a little light into your next launch
React Bits brings motion and character to your interface, one copy-paste component at a time.
Let a little light into your next launch
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.
gradientColors | string[] | ['#FF9FFC', '#5227FF'] | Colors of the gradient across the blinds, up to 8. One color is used for every blind. |
angle | Rotation of the blinds in degrees. 0 stands them upright. | ||
blindCount | 16 | Number of blinds. Acts as an upper limit when blindMinWidth is set. | |
blindMinWidth | 60 | Narrowest 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. | |
spotlightRadius | 0.5 | Size of the light around the cursor, relative to the area. | |
spotlightSoftness | How the light fades toward its edge. Higher values keep it brighter for longer, then drop off. | ||
spotlightOpacity | Strength of the light. | ||
shine | 0.4 | Soft highlight along the lit edge of each blind, strongest near the light, from 0 (matte) to 1. | |
relief | 0.5 | Depth of the shadow where each blind tucks under the next, from 0 (flat) to 1. | |
glow | 0.4 | Soft haze of colored light around the cursor. | |
sway | 0.35 | How much the blinds drift and turn on their own, as if in a breeze. | |
speed | Speed of the sway and of the drifting light. | ||
hoverTilt | 0.6 | How 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. |
perspective | Makes the blinds recede to one side like a window seen at an angle, from -1 to 1. | ||
gradientSpeed | Drifts the colors across the blinds over time. 0 keeps them still. | ||
mirrorGradient | Runs the gradient forward and back again instead of once across. | ||
distortAmount | Bends the blinds into soft waves. | ||
noise | 0.3 | Strength of the film grain, from 0 (clean) to 1. | |
mouseDampening | 0.15 | How 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. | |||
paused | Freezes the current frame. | ||
mixBlendMode | 'lighten' | CSS blend mode of the blinds over the page in dark mode, so dark areas show the page behind. | |
lightMode | Draws the blinds as clean colored light on a white page. | ||
dpr | auto | Maximum 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.
['#FF9FFC', '#5227FF']anglenumberRotation of the blinds in degrees. 0 stands them upright.
blindCountnumberNumber of blinds. Acts as an upper limit when blindMinWidth is set.
16blindMinWidthnumberNarrowest a blind can get, in px. Fewer blinds are drawn on small screens to respect it.
60shineDirection'left' | 'right'Which edge of each blind catches the light.
'left'lightColorstringColor of the light that falls on the blinds. Warm or cool whites change the mood.
'#ffffff'spotlightRadiusnumberSize of the light around the cursor, relative to the area.
0.5spotlightSoftnessnumberHow the light fades toward its edge. Higher values keep it brighter for longer, then drop off.
spotlightOpacitynumberStrength of the light.
shinenumberSoft highlight along the lit edge of each blind, strongest near the light, from 0 (matte) to 1.
0.4reliefnumberDepth of the shadow where each blind tucks under the next, from 0 (flat) to 1.
0.5glownumberSoft haze of colored light around the cursor.
0.4swaynumberHow much the blinds drift and turn on their own, as if in a breeze.
0.35speednumberSpeed of the sway and of the drifting light.
hoverTiltnumberHow much the blinds near the cursor turn toward the light and brighten, from 0 to 1.
0.6clickEffect'ripple' | 'none'Clicking sends a wave of light through the blinds, from slat to slat outward from the click.
'ripple'idle'drift' | 'center' | 'stay'What the light does while the cursor is away: wander slowly, return to the middle, or stay put.
'drift'perspectivenumberMakes the blinds recede to one side like a window seen at an angle, from -1 to 1.
gradientSpeednumberDrifts the colors across the blinds over time. 0 keeps them still.
mirrorGradientbooleanRuns the gradient forward and back again instead of once across.
distortAmountnumberBends the blinds into soft waves.
noisenumberStrength of the film grain, from 0 (clean) to 1.
0.3mouseDampeningnumberHow long the light takes to catch up with the cursor, in seconds. 0 follows instantly.
0.15introbooleanFades the light in while the blinds turn into place on mount.
pausedbooleanFreezes the current frame.
mixBlendModestringCSS blend mode of the blinds over the page in dark mode, so dark areas show the page behind.
'lighten'lightModebooleanDraws the blinds as clean colored light on a white page.
dprnumberMaximum device pixel ratio, capped at 2.
autoExtra class names for the container.
Inline styles for the container.



