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.
Usage
import { LavaLamp } from '@vizzele/react/gl';
<LavaLamp blobs={7} speed={0.5} />Props
| Prop | Type | Default | Description |
|---|---|---|---|
blobs | number | 7 | Number of blobs (max 10). |
size | number | 1 | Blob size. |
speed | number | 0.5 | Rise speed. |
gloss | number | 0.8 | Glossy highlight. |
colors | string[] | iridescent palette | Four 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.