About
A visual audio player with a generated waveform, click-and-drag scrubbing, a smooth playhead, transport controls, playback-rate cycling, volume and mute, an elapsed/remaining time toggle and a pulsing equaliser. The waveform is a keyboard slider with Space to toggle and arrows to seek, and scrubbing pauses the simulated clock.
Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Audio Waveform to your project and fits it to your theme.
Code
How Audio Waveform is used: the demo's code. The component's own source comes with a free account.
Usage.tsx
"use client";
/**
* PrequelUI Animate — MIT — https://prequeluianimate.terravidhal.me
*/
import { AudioWaveform } from "@/components/ui/audio-waveform";
export default function AudioWaveformDemo() {
return (
<main className="flex min-h-screen w-full items-center justify-center bg-background px-6 py-12">
<AudioWaveform
title="Untitled Sketch No. 4"
artist="Room Tone"
duration={214}
defaultTime={74}
speed={1}
/>
</main>
);
}








