App UI kits › Confab › Voice note
Hold the mic and the waveform draws as you speak; slide left and the note is pulled into the bin, slide up to lock.
Voice note is a screen from Confab, an app ui kit with 11 screens: A chat app where a voice note is pulled into the bin when you slide away, and every bubble moves like a real one. Price: $5 for the whole pack.
Built with: live waveform, slide to bin, lock to record, transcript.
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.
| Prop | Type | Default | Description |
|---|---|---|---|
dark | boolean | ||
autoplay | boolean | ||
photos | CfPhotos | ||
level | () => number | Optional live input level 0–1 (for example from an AnalyserNode). Simulated speech when omitted. | |
onSend | (seconds: number, levels: number[]) => void |
start(locked?: boolean): voidsend(): voidcancel(): voiddestroy(): voidimport ConfabVoice from './ConfabVoice';
<ConfabVoice />The Vue, HTML, Next.js, Tailwind and Motion versions take the same options.
Good for: Chat app UI.