Component packs › Natter › Mic Toggle

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.

Mic Toggle props

PropTypeDefaultDescription
mutedboolean
onChange(muted: boolean) => void
allowRealMicbooleanOffer the "Use my microphone" switch.
autoplaynumber | falseShowcase mode: toggles mute every N ms while visible.

Methods on the ref

Use it in React

import MicToggle from './MicToggle';

<MicToggle />

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

More in Natter

Good for: Collaboration and calls.