Component packs › Groove › Voice Note

Voice Note

Record from the microphone with bars rising from your real voice level; the note plays back with its own waveform and a speed pill that really changes the speed.

Voice Note is a voice message from Groove, a component pack with 8 components: Audio components with real sound, made live in the browser. Price: $2 for the whole pack.

Built with: microphone level, MediaRecorder, 1× 1.5× 2×.

Code: React and Next.js (TypeScript), Vue 3, plain HTML/CSS/JS, Tailwind CSS v4 and Motion (motion.dev). No npm packages needed. Keyboard accessible, with a reduced-motion version, in dark and light.

Voice Note props

PropTypeDefaultDescription
fromstringWho sent the demo note.
onRecorded(audio: Blob, seconds: number) => void
theme'dark' | 'light'
autoplaybooleanShowcase mode: "records" and plays the demo note silently until touched.

Methods on the ref

Use it in React

import VoiceNote from './VoiceNote';

<VoiceNote />

The Vue, HTML, Next.js, Tailwind and Motion versions take the same options.

More in Groove

Good for: Audio player UI.