Components / AI components / Voice
VoiceExperimental alpha

VoiceControl

Microphone choice, capture controls, measured level and transcription states.

VoiceControl preview

Loading example…

Interactions use local sample data.

Usage and props

Own microphone permission, recording, device cleanup and transcription. The gallery simulates capture.

Supported inputs

This is the public signature used by this example. Open Code to see how the values and callbacks fit together.

capture / legacy state · transcription · status · connection · submission · scoped start/stop/cancel/device requests · devices?
How state and callbacks work

These are the main props for the example. The package's TypeScript declarations include the full API.

Customize and use with a keyboard