About
A microphone recorder for capturing a voice note in the browser, with a live input level meter, pause/resume/stop controls, playback and a maximum duration.
Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Voice Recorder to your project and fits it to your theme.
Code
How Voice Recorder is used: the demo's code. The component's own source comes with a free account.
Usage.tsx
import VoiceRecorder from "@/components/ui/voice-recorder";
export default function VoiceRecorderDemo() {
return (
<div className="flex min-h-[280px] w-full items-center justify-center p-6">
<div className="w-full max-w-[460px]">
<VoiceRecorder label="Voice note" maxDuration={30} />
</div>
</div>
);
}








