Stop Rebuilding UI

Shadcn.io is not affiliated with official shadcn/ui

React AI Mic Selector

React AI microphone selector component for choosing audio input devices

Let users pick their microphone before recording. This popover-based selector lists available audio input devices from the browser's MediaDevices API. Requests permission on open, updates when devices change (plug/unplug), and shows device names with hardware IDs stripped for cleaner display. Essential for voice AI apps with multiple input sources.

Mic Selector preview

Scroll to load preview

Installation

FAQ

Was this page helpful?

Sign in to leave feedback.