Skip to content
ProBackgroundsWebGL

Rain Glass

Drops that slide down a window and refract the city lights.

Plan
Pro · commercial license
Dependencies
React only
Props
7 (6 adjustable)

Included in Pro and Lifetime. See pricing

It's raining in the city

Made with Furin: Pill Nav · Metal Button · Copy Morph

Props

PropTypeDefaultDescription
childrenReactNode""Content drawn on top of the glass.
densitynumber1How many drops cover the glass (1 = normal, 0 = none).
speednumber1How fast the drops run (1 = normal).
fognumber0.65Fogginess of the glass: 0 is clear, 1 is heavily misted.
scenestring"city"Night scene seen behind the glass (city, dusk or neon).
tintstring"#8fb4ff"Tint color of the glass.
interactivebooleantrueOn hover or touch, wipes a trail and lets a drop fall.

Installation

With your license

1Set up the Pro registry once

Pro components aren't on npm or in the public shadcn registry: you install them with your license from Furin's private registry.

Use my license

2Install Rain Glass

npx shadcn@latest add @furin-pro/rain-glass

Dependencies

React
18 or later
WebGL 2
in the browser
Other libraries
none
License
commercial

Pro components install into your project: the code is yours and there's nothing else to download.

Keep exploring

  • Dunes under raking light, with sharp crests and fine sand ripples that migrate with the wind; the cursor blows and shifts the sand.

    Backgrounds

  • A flight over a volumetric sea of clouds at sunset: raymarching with a sun straight ahead, silver edges, violet shadows and towering clouds. The cursor steers the camera.

    Backgrounds

  • The edge of the sun up close: boiling convection granules, sunspots with penumbra, and plasma prominences that arch and burst over the limb.

    Backgrounds