Skip to content

    Browse components

    Spike Blob

    A glossy black ferrofluid blob whose spikes rise toward the cursor like it is chasing a magnet.

    Spike Blob

    Open
    Customize

    Installation

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

    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/spike-blob.json

    Usage

    import { SpikeBlob } from "@/components/ui/spike-blob";
    
    <div className="relative h-96">
      <SpikeBlob color="#7c6cff" spikes={28} />
    </div>

    Props

    PropTypeDefaultDescription
    colorstring"#7c6cff"Rim light and glow color.
    spikesnumber28Number of spikes.
    spikeLengthnumber1Spike length multiplier.
    sizenumber1Blob size.
    speednumber1Animation speed.
    classNamestring—Extra classes for the root element.