Skip to content

    Browse components

    Streamers

    Silky, twisting ribbons that chase the cursor on springs and fan out as they lag behind.

    Streamers

    Open
    Customize

    Installation

    npx shadcn@latest add @glint-ui/streamers

    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/streamers.json

    Usage

    import { Streamers } from "@/components/ui/streamers";
    
    <div className="relative h-96">
      <Streamers colors={["#c6ff3d", "#22d3ee"]} />
    </div>

    Props

    PropTypeDefaultDescription
    colorsstring[]["#c6ff3d","#22d3ee","#a78bfa","#f472b6"]One ribbon per color, front to back.
    thicknessnumber22Head width in px.
    lengthnumber40Points per ribbon; longer tails at higher values.
    springnumber0.05Pull toward the cursor. Lower lags more.
    twistbooleantrueWidth ripples like a twisting ribbon.
    idlebooleantrueRibbons wander on their own while the cursor is away.
    classNamestring—Extra classes for the root element.