CrazyGLCrazyGLHomeExploreGitHubBrowse heroesLoading hero…← Back to gallery@crazygl/lava-lamp

Lava Lamp Blobs

Raymarched metaballs drifting through space and merging smoothly via SDF smin. Glossy + subsurface-style shading gives them a thick, viscous look.

ReactWebGLInteractiveFont#metaballs#raymarching#blobs#lava-lamp#smin#premium

Usage

import LavaLamp from '@crazygl/hero-lava-lamp';

export default function Page() {
  return <LavaLamp blobColor="#ff5e92" smoothness={0.55} speed={0.6} />;
}

Customise

  • BlobsblobColor, blobAccent, blobInner (subsurface glow), smoothness (how eagerly they fuse), speed, glossy, innerStrength.
  • BackgroundbgTopColor, bgBottomColor.
  • LayoutcenterX (slide the cluster left/right behind your copy).

Best for

  • Creative studio and agency landing pages.
  • Music and nightlife sites.
  • Beauty / fragrance product pages and playful retro-luxe brand splash screens.
01 · Install the package

One command, zero config.

npm install @crazygl/hero-lava-lamp
02 · Render the component

Import once, drop it in.

The component takes the same props you see in the live customizer on the right — every default ships poster-quality.

hero.tsx
import LavaLampBlobs from '@crazygl/hero-lava-lamp';

export default function Landing() {
  return (
    <LavaLampBlobs />
  );
}
03 · Use it in a page

SSR-safe by default.

The wrapper renders static HTML on the server and only initialises the canvas after hydration, so search engines see your copy.

page.tsx
// app/page.tsx — works in SSR-first frameworks (Next, Remix, Astro, etc.)
'use client';

import LavaLampBlobs from '@crazygl/hero-lava-lamp';

export default function Page() {
  return (
    <section>
      <LavaLampBlobs
        heading="Say hi."
        subheading="Your new hero."
      />
      <article>
        <h2>Welcome</h2>
        <p>Your content keeps its own voice below the hero.</p>
      </article>
    </section>
  );
}
You might also like

Similar heroes

Crystal Refraction Field

Six raymarched octahedral crystals drift across the screen, refracting the background through each face with per-channel chromatic dispersion at the rim.

Cloud Flythrough

Raymarched volumetric clouds. The camera flies forward through layered FBM density; sunlight scatters through every step and god-rays peek through breaks.

Glass Cube Maze

Raymarched lattice of transparent glass cubes drifting in 3D space. The cursor orbits the camera, and chromatic dispersion paints rainbow rims along the hits.

Floating Monolith

A glossy obsidian monolith floats on screen, rotating slowly, sampling a procedural HDRI for genuine mirror reflections. Emissive light strips travel down its faces in a hypnotic loop.

Liquid Metal Orb

A floating mercury sphere ray-marched in real time, sampling a real environment image (or a procedural studio HDRI) for genuine mirror-like reflections. Drop in a photo to see it bend across the surface. Three layouts: orb centered or content beside it.

Liquid Data Core

A glowing ray-marched glass sphere with refracted, dispersed inner orbits of data points — a living analytics engine that reacts to the cursor.
Live customizer

Lava Lamp Blobs

Blob colourBlob accentInner glowBG topBG bottomSmoothness0.55Smaller = blobs stay distinct. Larger = they merge sooner.Drift speed0.6Glossiness1Inner glow1Heading FontInteractivityWhich input drives the hero — try Scroll if you want the page to drive motion.
CrazyGL · crazygl.comProgrammable hero sections for real websites.