Skip to content

    Browse components

    Blob Lamp

    Glossy liquid blobs that drift, merge and split, with one that follows your cursor. Raw WebGL.

    Blob Lamp

    Open
    Customize

    Installation

    npx shadcn@latest add @glint-ui/blob-lamp

    First time using @glint-ui? Add the registry to components.json once, or install by URL: npx shadcn@latest add https://glintui.vercel.app/r/blob-lamp.json

    Usage

    import { BlobLamp } from "@/components/ui/blob-lamp";
    
    <div className="relative h-96">
      <BlobLamp count={7} />
    </div>

    Props

    PropTypeDefaultDescription
    countnumber7Wandering balls (plus the cursor ball).
    colorstring"#c6ff3d"Color at the top.
    color2string"#0ea5e9"Color at the bottom.
    speednumber1Motion speed multiplier.
    sizenumber1Ball size multiplier.
    followCursorbooleantrueOne ball tracks the cursor.
    classNamestring—Extra classes for the root element.