Component packs › Natter › Mic Toggle
Your voice level fills the mic capsule and pushes rings out round the button; talk while muted and a note tells you so.
Mic Toggle is a toggle from Natter, a component pack with 6 call controls: Video call controls that move with the voices in the call. Price: $2 for the whole pack.
Built with: live voice level, talking while muted, real mic option.
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 |
|---|---|---|---|
muted | boolean | ||
onChange | (muted: boolean) => void | ||
allowRealMic | boolean | Offer the "Use my microphone" switch. | |
autoplay | number | false | Showcase mode: toggles mute every N ms while visible. |
readonly muted: booleansetMuted(v: boolean, silent?: boolean): voiddestroy(): voidimport MicToggle from './MicToggle';
<MicToggle />The Vue, HTML, Next.js, Tailwind and Motion versions take the same options.
Good for: Collaboration and calls.