Skip to content

    Browse components

    Updraft Dust

    Weightless glowing dust that drifts upward and curls away from the cursor.

    Updraft Dust

    Open
    Customize

    Installation

    npx shadcn@latest add @glint-ui/updraft-dust

    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/updraft-dust.json

    Usage

    import { UpdraftDust } from "@/components/ui/updraft-dust";
    
    <div className="relative h-96">
      <UpdraftDust count={400} />
    </div>

    Props

    PropTypeDefaultDescription
    countnumber600Number of particles.
    colorstring"#c6ff3d"Particle glow color (6-digit hex).
    speednumber1Upward drift multiplier.
    radiusnumber160Px radius the cursor disturbs.
    swirlnumber1How hard the cursor swirls particles away.
    sizenumber3Largest particle radius in px.
    classNamestring—Extra classes for the root element.