Components

Pluviophile

Natural rain background with canvas-rendered falling streaks. Configurable angle, speed, color, density, and drop size.

npx neonblade add pluviophile

Default rain

Straight falling — slow drizzle

Heavy downpour

Wind-driven — steep angle

Neon cyan rain

Neon pink rain

Props Configuration

PropTypeDefaultDescription
dropColorstring"rgba(174,214,241,0.85)"Color of the falling rain streaks. Accepts any valid CSS color string — hex, rgb, rgba, hsl.
dropCountnumber150Number of simultaneous falling rain streaks. Higher values produce heavier rainfall.
speednumber12Fall speed in pixels per frame. Each drop has ±25% speed variation for a natural look.
anglenumber-15Angle of rainfall in degrees from vertical. Negative values lean left (wind from right); positive values lean right. Clamped to ±60°.
dropMinLengthnumber15Minimum length of a falling rain streak in pixels.
dropMaxLengthnumber40Maximum length of a falling rain streak in pixels.
dropWidthnumber1Stroke width of each falling rain streak in pixels. Each drop has slight width variation.
opacitynumber0.75Global opacity of the entire rain canvas layer (0–1).
backgroundColorstring"#0a0a0f"Background fill color of the component. The canvas redraws this every frame as the base layer beneath the rain.