VoiceRecorder
Records a short voice note in stages, from asking for the microphone through a live waveform to a review with the transcript, inline or as a bottom sheet.
VoiceRecorder
VoiceRecorder draws the stage of a voice note it is handed: asking for the microphone, recording with a live waveform and a clock, then review and sending. The host owns the microphone, the recording, the clock, the stop at the limit and the upload. The component never moves itself from one stage to the next. Review always shows the transcript as an editable field, because a voice note without text leaves out anyone who cannot listen.
Storybook
Loading
Props
Prop
Type
Tokens
Derived from the component source at docs-generation time — these are the --augds-* variables it reads. Re-theme the colour slots by constructing a partner DesignSystemTheme and wrapping the consumer subtree in <ThemeProvider>, never by hard-coding values.
--augds-background-sunken-1--augds-border-default--augds-foreground-primary--augds-foreground-secondary--augds-foreground-tertiary--augds-radius-primitive-16--augds-radius-primitive-24--augds-spacing-16--augds-spacing-24--augds-status-error-fg--augds-surface-elevated
Source
src/components/ui/voice-recorder/voice-recorder.tsx