About
An equaliser-style row of bars riding a travelling wave, animated entirely in CSS. Bar count, width, spacing, radius, height, colour and speed are all live knobs.
Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Wave Bars to your project and fits it to your theme.
Code
How Wave Bars is used: the demo's code. The component's own source comes with a free account.
Usage.tsx
"use client"
import { WaveBars } from "@/components/ui/wave-bars"
const settings = {
barCount: 32,
barWidth: 6,
gap: 4,
radius: 4,
height: 120,
color: "#8b5cf6",
duration: 1.6,
paused: false,
}
export default function Demo(props: Partial<typeof settings>) {
const s = { ...settings, ...props }
return (
<div className="flex h-screen w-full items-center justify-center bg-background">
<WaveBars {...s} />
</div>
)
}







