Skip to content

    Browse components

    Charge Band

    A glowing horizontal band of plasma wrapped in flickering electric filaments; it bends toward the cursor. WebGL.

    Charge Band

    Open
    Customize

    Installation

    npx shadcn@latest add @glint-ui/charge-band

    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/charge-band.json

    Usage

    import { ChargeBand } from "@/components/ui/charge-band";
    
    <div className="relative h-96">
      <ChargeBand colorA="#38bdf8" colorB="#a855f7" />
    </div>

    Props

    PropTypeDefaultDescription
    colorAstring"#38bdf8"Color on one end of the band.
    colorBstring"#a855f7"Color on the other end.
    speednumber1Animation speed multiplier.
    amplitudenumber1Wave height.
    thicknessnumber1Band thickness.
    filamentsnumber6Electric filaments around the core.
    intensitynumber1Brightness.
    classNamestring—Extra classes for the root element.