Skip to content

    Browse components

    Luminescent Flows

    Glowing currents drift like bioluminescent tides, with light pulses traveling along them and specks of plankton. WebGL.

    Luminescent Flows

    Open
    Customize

    Installation

    npx shadcn@latest add @glint-ui/luminescent-flows

    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/luminescent-flows.json

    Usage

    import { LuminescentFlows } from "@/components/ui/luminescent-flows";
    
    <div className="relative h-96">
      <LuminescentFlows colorA="#2dd4bf" colorB="#818cf8" />
    </div>

    Props

    PropTypeDefaultDescription
    colorAstring"#2dd4bf"First current color.
    colorBstring"#818cf8"Second current color.
    countnumber7Number of glowing currents.
    speednumber1Flow speed multiplier.
    scalenumber1Size of the curves.
    intensitynumber1Overall brightness.
    classNamestring—Extra classes for the root element.