Interface
Audio waveform
An audio player with an animated waveform and controls: bars sway on their own infinite phase-shifted cycle, the listened portion glows in the accent color, and the play button pulses a ring while playing.
React + Tailwind, shadcn-compatible: press “Copy for AI” and your Cursor or Claude Code agent installs it with the shadcn CLI.
What you can change
- the track title, artist and timecodes (trackTitle, trackArtist, elapsed, duration)
- the listened share via the progress prop (0–100)
- the button state via the playing prop (icon and pulsing ring)
A link for your AI agent: preview, code and instructions.
Preview

Use it with AI
- 1. Copy the link.
- 2. Write to your agent in your own words and drop the link into the sentence.
- 3. The agent opens the link and installs the component from the registry.
put this on the home page as the hero:
https://vibeui.club/c/media-001?lang=en&theme=dark
Not sure where to paste it? Step-by-step guide
Show the full instructions
What the link says, spelled out. Use it when your agent cannot open links — paste this text instead.
Loading…
How to use
<Media001 trackTitle="Morning show" trackArtist="Vibe podcast" elapsed="1:12" duration="3:24" progress={38} playing />A sample call. The agent installs the component itself from the registry via the “Copy for AI” link.
Settings
- Playing
playing· default: on- Glow
gradient· default: on- Isometric
isometric· default: off- Accent
accent· default: theme colour
More in Interface
FAQ
- How do I add Audio waveform with Cursor or Claude Code?
- Press “Copy for AI” on this page and paste it into your agent's chat. The instruction contains the shadcn CLI install command, the dependencies and what to keep, so the agent installs this exact component instead of recreating a lookalike.
- What does Audio waveform depend on?
- No npm packages beyond React and Tailwind CSS.
- What can I change in Audio waveform?
- Adapt: the track title, artist and timecodes (trackTitle, trackArtist, elapsed, duration); the listened share via the progress prop (0–100); the button state via the playing prop (icon and pulsing ring). Keep as installed: the local --vibeui-media-001-* palette — do not swap it for your theme tokens; the continuous height sway of every waveform bar with a phase offset by index; the accent fill on the listened portion of the wave (by progress) over the muted color of the rest.
- Is Audio waveform free?
- The preview is open to everyone; the source is available with a PRO subscription.
For developers
npx shadcn@latest add https://vibeui.club/r/pro/media-001.jsonThis command needs a signed link: sign in and open “Component source” below — it issues a working link valid for 30 minutes. All install options
Technical notes
The component is self-contained: one file, zero dependencies, palette in local --vibeui-media-001-* variables. It takes the theme from the environment via light-dark() plus a rule for the .dark class. The waveform is 28 bars, each with its own base height and its own infinite CSS sway cycle (animation-delay by index), so the wave reads as continuously alive without a single JS timer. Bars up to the progress threshold (0–100) are colored in the accent — the listened share reads visually right on the wave. The play/pause button swaps its icon via the playing prop; while playing, a ring expands and fades around the button.
Tags
- audio
- player
- waveform
- media
- animated
- sound
Component source
The same file your agent installs. Here in case you would rather copy it by hand.
Loading…