Skip to content

    Browse components

    Bars Wave

    A row of glowing equalizer bars whose heights roll across the screen as a layered wave. Canvas 2D.

    Bars Wave

    Open
    Customize

    Installation

    npx shadcn@latest add @glint-ui/bars-wave

    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/bars-wave.json

    Usage

    import { BarsWave } from "@/components/ui/bars-wave";
    
    <div className="relative h-96">
      <BarsWave color="#67e8f9" accent="#7c3aed" />
    </div>

    Props

    PropTypeDefaultDescription
    colorstring"#67e8f9"Color at the tops of the bars.
    accentstring"#7c3aed"Color at the base of the bars.
    barsnumber64Number of bars across the width.
    speednumber1Wave speed multiplier.
    amplitudenumber0.6Wave height as a fraction of the container.
    glownumber1Glow strength.
    classNamestring—Extra classes for the root element.