Mute microphone
"active"The microphone is active.
Media controls
MicrophoneStateIconSwitches between active and muted microphone states.
The microphone is active.
"active"The microphone is active.
"muted"The microphone is muted.
Implementation
The component stays presentational. Your application remains in control of async work and business logic. The state prop is a TypeScript string literal union — pass an invalid state and you'll get a type error at build time.
import { MicrophoneStateIcon } from "@stateglyph/react";
<MicrophoneStateIcon state="active" decorative />