About
A compact chat-bubble audio player for voice messages, with a play/pause button, a seekable progress slider and an elapsed/duration time readout.
Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Voice Note to your project and fits it to your theme.
Code
How Voice Note is used: the demo's code. The component's own source comes with a free account.
Usage.tsx
import VoiceNote from "@/components/ui/voice-note";
export default function VoiceNoteDemo() {
return (
<div className="flex w-full min-h-[200px] items-center justify-center p-8">
<VoiceNote
src="https://cdn.21st.dev/assets/mirror/79/79d62cb6599f1e2f50f7b7a1f71384c6a6eade69ec16cc6c2efecdb1d91f3878.mp3"
label="Voice message from Maryam"
/>
</div>
);
}








