About
An equaliser-style range slider that animates a row of bars into a travelling wave crest around the current handle position.
Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Wave Slider to your project and fits it to your theme.
Code
How Wave Slider is used: the demo's code. The component's own source comes with a free account.
Usage.tsx
import { WaveSlider } from "@/components/ui/range-slider-wave";
import { useState } from "react";
export function RangeSliderWavePreview() {
const [value, setValue] = useState(45);
return (
<div className="flex w-full max-w-md flex-col gap-2">
<div className="flex items-center justify-between text-sm text-muted-foreground">
<span>Gain</span>
<span className="tabular-nums text-foreground">{value}</span>
</div>
<WaveSlider value={value} onValueChange={setValue} aria-label="Gain" />
</div>
);
}
export default RangeSliderWavePreview;








