Browse components
Bars Wave
A row of glowing equalizer bars whose heights roll across the screen as a layered wave. Canvas 2D.
Bars Wave
Installation
npx shadcn@latest add @glint-ui/bars-waveFirst time using @glint-ui? Add the registry to components.json once, or install by URL: npx shadcn@latest add https://glint-ui-seven.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
| Prop | Type | Default | Description |
|---|---|---|---|
| color | string | "#67e8f9" | Color at the tops of the bars. |
| accent | string | "#7c3aed" | Color at the base of the bars. |
| bars | number | 64 | Number of bars across the width. |
| speed | number | 1 | Wave speed multiplier. |
| amplitude | number | 0.6 | Wave height as a fraction of the container. |
| glow | number | 1 | Glow strength. |
| className | string | — | Extra classes for the root element. |