Skip to content

    Browse components

    Goo Chaser

    A trail of gooey blobs that stretch, merge and split as they chase the pointer.

    Open
    Customize

    difference
    normal
    screen
    exclusion

    Installation

    npx shadcn@latest add @glint-ui/goo-chaser

    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/goo-chaser.json

    Usage

    import { GooChaser } from "@/components/ui/goo-chaser";
    
    <GooChaser className="h-96">
      <h1>Hello</h1>
    </GooChaser>

    Props

    PropTypeDefaultDescription
    childrenReactNode—Content under the blobs.
    colorstring"#c6ff3d"Blob color.
    countnumber4Number of trailing blobs.
    sizenumber96Diameter of the lead blob in px.
    lagnumber0.50 = blobs move together, higher = longer lazy tail.
    goonumber14Goo filter blur; higher melts blobs together from further away.
    blendMode"difference" | "normal" | "screen" | "exclusion""difference"How the blobs blend with content underneath.
    hideCursorbooleantrueHide the native cursor inside the container.
    classNamestring—Extra classes for the root element.