Backgrounds

Lava lamp

Blobs of glossy wax rise, merge and split. Your pointer is one more blob — push it into the others and they fuse.

Paste it into ChatGPT, Claude, Cursor or v0.
blobs7
size1.00
speed0.50
gloss0.80

Usage

import { LavaLamp } from '@vizzele/react/gl';

<LavaLamp blobs={7} speed={0.5} />

Props

PropTypeDefaultDescription
blobsnumber7Number of blobs (max 10).
sizenumber1Blob size.
speednumber0.5Rise speed.
glossnumber0.8Glossy highlight.
colorsstring[]iridescent paletteFour hex colors.

Accessibility

  • The canvas is aria-hidden and never takes pointer events — content on top stays fully interactive.
  • Pauses when off-screen or in a background tab. Renders one still frame with reduced motion.
  • Weak devices get a lower resolution automatically; without WebGL2 a static gradient is shown.