Lava Lamp

Gooey wax blobs that rise, stretch and merge like a lava lamp, with one blob riding the cursor. SVG goo filter, no canvas.

backgroundsvggooeyinteractive

Groovy

Lava Lamp

Usage

Drop the file into your project and import it. There is no package to install.

usage.tsx
import { LavaLamp } from "@/registry/backgrounds/lava-lamp";

export function Example() {
  return <LavaLamp />;
}

Install prerequisites

Every component here relies only on Tailwind and the cn helper from shadcn/ui.

terminal
npm i clsx tailwind-merge

More in Backgrounds