Augeo AI Docs
Augeo Design SystemComponents

VoicePlayer

A recorded voice note as a waveform with play, a clock, a speed control and the transcript beneath.

VoicePlayer

VoicePlayer draws a recorded voice note: the waveform from its stored peaks, play and pause, a clock, a 1×, 1.5× and 2× speed control, and the transcript. The host owns the audio element, so it hands down whether the note plays and how far it has got. The transcript is the note's text alternative, so a failed load still leaves it readable.

Storybook

Loading

Props

Prop

Type

Also takes the attributes of the element it renders.

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-background-sunken-2
  • --augds-border-subtle
  • --augds-foreground-brand
  • --augds-foreground-disabled
  • --augds-foreground-primary
  • --augds-foreground-quaternary
  • --augds-foreground-secondary
  • --augds-foreground-tertiary
  • --augds-interaction-focus-ring
  • --augds-radius-primitive-16
  • --augds-radius-primitive-999
  • --augds-status-error-fg
  • --augds-surface-elevated

Source

  • src/components/ui/voice-player/voice-player.tsx
  • src/components/ui/voice-player/voice-waveform.tsx