- Docs
- Components
- Backgrounds
- Light Droplets
Streaks of light falling like rain
| Name | Type | Default | Description |
|---|---|---|---|
width | number | string | "100%" | Width of the component in pixels or CSS value |
height | number | string | "100%" | Height of the component in pixels or CSS value |
speed | number | 0.3 | Animation speed multiplier |
color | string | "#5227FF" | Droplet color in hex format |
columnCount | number | 64 | Number of droplet columns |
stretch | number | 0.25 | Vertical stretch factor |
trailLength | number | 50.0 | Droplet trail length |
rotationSpeed | number | 1.0 | Rotation speed multiplier |
rotation | number | 90 | Manual rotation angle in degrees (when autoRotate is false) |
intensity | number | 1.0 | Droplet intensity/brightness |
thickness | number | 0.25 | Droplet thickness/width |
enableRotation | boolean | false | Enable automatic rotation |
transparent | boolean | true | Transparent background |
quality | "low" | "medium" | "high" | "medium" | Quality preset for performance |
maxFPS | number | 120 | Maximum frames per second |
pauseWhenOffscreen | boolean | true | Pause when component is off-screen |
className | string | "" | Additional CSS classes |
children | React.ReactNode | undefined | Content to render on top |
widthnumber | stringWidth of the component in pixels or CSS value
"100%"heightnumber | stringHeight of the component in pixels or CSS value
"100%"speednumberAnimation speed multiplier
0.3colorstringDroplet color in hex format
"#5227FF"columnCountnumberNumber of droplet columns
64stretchnumberVertical stretch factor
0.25trailLengthnumberDroplet trail length
50.0rotationSpeednumberRotation speed multiplier
1.0rotationnumberManual rotation angle in degrees (when autoRotate is false)
90intensitynumberDroplet intensity/brightness
1.0thicknessnumberDroplet thickness/width
0.25enableRotationbooleanEnable automatic rotation
falsetransparentbooleanTransparent background
truequality"low" | "medium" | "high"Quality preset for performance
"medium"maxFPSnumberMaximum frames per second
120pauseWhenOffscreenbooleanPause when component is off-screen
trueclassNamestringAdditional CSS classes
""childrenReact.ReactNodeContent to render on top
undefined