
Soft rolling gradient waves fading into haze.
React Bits brings motion and character to your interface, one copy-paste component at a time.

Soft rolling gradient waves fading into haze.
React Bits brings motion and character to your interface, one copy-paste component at a time.
Soft rolling gradient waves fading into haze.
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.
horizonColor | '#5227FF' | Haze the waves fade into toward the horizon, and the tint of their shadows. | |
waveColor | '#FF9FFC' | Main color of the wave bodies. | |
crestColor | '#FFFFFF' | Color of the crests and the light they catch. | |
backgroundColor | 'transparent' | Fills the canvas behind the waves. Transparent lets the page show through. | |
lightMode | Draws the waves as soft colored ink for light pages. | ||
speed | 0.4 | How fast the waves roll in. | |
amplitude | 2.5 | Height of the waves. | |
waveScale | 0.6 | How many waves fit in view. Higher is choppier. | |
waveRatio | 0.9 | Balance between the long rolling waves and the shorter cross waves. | |
swell | 35 | How much the long waves bend and meander. | |
turbulence | 20 | How much the cross waves wander. | |
tilt | 64 | Camera angle in degrees, from looking down to facing the horizon. | |
zoom | Field of view. Higher zooms in. | ||
height | 5.5 | Water level. Higher brings the waves closer. | |
fogDepth | 15 | How far you can see before the waves fade out. | |
relief | Depth of the light and shadow on the waves. 0 gives flat gradient waves. | ||
lightAngle | 120 | Direction the light comes from, in degrees. 0 lights the waves from behind you, 180 from the horizon. | |
sheen | Strength of a soft highlight on the crests. | ||
brightness | Overall brightness. | ||
opacity | Opacity of the whole effect. | ||
grain | 0.2 | Film grain on the waves, up to 0.5. 0 turns it off. | |
quality | 'low' | 'medium' | 'high' | 'medium' | Rendering precision. Lower is faster on weak devices. |
| Starts from calm water and lets the waves rise from the horizon toward you. | |||
mouseInteraction | The light follows the cursor across the waves and the view turns gently toward it. | ||
parallaxStrength | 0.5 | How far the view turns toward the cursor. | |
mouseStrength | 0.6 | How far the light turns to follow the cursor. | |
swellOnClick | Clicking sends a swell rolling in from that point. | ||
paused | Freezes the waves. | ||
dpr | 2 | Maximum device pixel ratio of the canvas. | |
| Extra class names for the container. | |||
| Inline styles for the container. |
horizonColorstringHaze the waves fade into toward the horizon, and the tint of their shadows.
'#5227FF'waveColorstringMain color of the wave bodies.
'#FF9FFC'crestColorstringColor of the crests and the light they catch.
'#FFFFFF'backgroundColorstringFills the canvas behind the waves. Transparent lets the page show through.
'transparent'lightModebooleanDraws the waves as soft colored ink for light pages.
speednumberHow fast the waves roll in.
0.4amplitudenumberHeight of the waves.
2.5waveScalenumberHow many waves fit in view. Higher is choppier.
0.6waveRationumberBalance between the long rolling waves and the shorter cross waves.
0.9swellnumberHow much the long waves bend and meander.
35turbulencenumberHow much the cross waves wander.
20tiltnumberCamera angle in degrees, from looking down to facing the horizon.
64zoomnumberField of view. Higher zooms in.
heightnumberWater level. Higher brings the waves closer.
5.5fogDepthnumberHow far you can see before the waves fade out.
15reliefnumberDepth of the light and shadow on the waves. 0 gives flat gradient waves.
lightAnglenumberDirection the light comes from, in degrees. 0 lights the waves from behind you, 180 from the horizon.
120sheennumberStrength of a soft highlight on the crests.
brightnessnumberOverall brightness.
opacitynumberOpacity of the whole effect.
grainnumberFilm grain on the waves, up to 0.5. 0 turns it off.
0.2quality'low' | 'medium' | 'high'Rendering precision. Lower is faster on weak devices.
'medium'introbooleanStarts from calm water and lets the waves rise from the horizon toward you.
mouseInteractionbooleanThe light follows the cursor across the waves and the view turns gently toward it.
parallaxStrengthnumberHow far the view turns toward the cursor.
0.5mouseStrengthnumberHow far the light turns to follow the cursor.
0.6swellOnClickbooleanClicking sends a swell rolling in from that point.
pausedbooleanFreezes the waves.
dprnumberMaximum device pixel ratio of the canvas.
2Extra class names for the container.
Inline styles for the container.



