211
Warm wax blobs that wander, melt into one another and drift apart behind your content, with one that lazily trails your cursor.
akagoo·blobs·background
Run this in any project set up for the shadcn CLI. It copies the Lava Lamp source into your components folder, so the code is yours to change.
npx shadcn@latest add https://devl.dev/r/lava-lamp.jsonImport it and render it. Every prop has a typed default, so it works straight away, and you pass your own data when you’re ready.
import { LavaLamp } from "@/components/lava-lamp";
export default function Page() {
return <LavaLamp />;
}A free React motion component in the Liquid collection, written in TypeScript with Tailwind CSS on coss ui. MIT licensed.
Read from the Lava Lamp source. Everything is optional unless it says required. It also accepts ComponentProps<"div">.
| Prop | Type | Default |
|---|---|---|
| blobs | LavaLampBlob[] | defaultBlobs |
| followPointer | boolean | true |
| pointerColor | string | c(3) |
| goo | number | 10 |
| intensity | number | 0.85 |