Skip to content
FreeBackgroundsWebGL

Lava Lamp

A lava lamp with glass and warm light: the wax rises, stretches, merges with other blobs and splits apart. Your cursor warms it.

Plan
Free · MIT
Dependencies
React only
Props
5 (5 adjustable)

Free forever

MIT license, for personal and commercial projects. See installation

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

Props

PropTypeDefaultDescription
waxColorstring"#FF6A1F"Color of the wax.
liquidColorstring"#8A1240"Color of the liquid inside the glass.
speednumber1Speed of the blobs.
glownumber1Intensity of the warm light around the lamp.
interactivebooleantrueThe cursor warms the wax and attracts a blob.

Installation

Install it

1Install the package

npm i furin-ui

2Import it

import { LavaLamp } from "furin-ui";

Also with pnpm add furin-ui, yarn add furin-ui or bun add furin-ui. Each component ships its own CSS and imports it for you.

Dependencies

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

Each file ships its own CSS: there's nothing else to install.

Keep exploring

  • A chrome surface that ripples and reflects a luminous environment.

    Backgrounds

  • A dot grid that reacts to the cursor.

    Backgrounds

  • A real 3D scene in WebGL2: a glass prism (beveled mesh with fresnel and refraction) on a reflective vinyl floor. A light orb follows your cursor and fires a volumetric beam; the spectrum fans out by Snell's law, one ray per color, and lands on the wall and floor with its caustic. The camera parallaxes with the cursor.

    Backgrounds