Available across sm, default, and lg variants.
Prompting browser microphone permissions before audio listening starts.
| Prop | Type | Default | Description |
|---|---|---|---|
isActive | boolean | false | Whether the visualizer is actively recording/listening. |
demoText | string | — | Simulated demo transcript passed to the component to stream back piece by piece. |
onSpeech | (piece: string) => void | — | Callback fired with transcript pieces one-by-one while active. |
onComplete | () => void | — | Callback fired when the entire transcript has finished streaming so audio can automatically stop. |
wordIntervalMs | number | 320 | Average interval between word emissions in milliseconds. |
barCount | number | 16 | Number of waveform bars rendered in the visualizer. |
size | "sm" | "default" | "lg" | "default" | Size variant of the visualizer dots and bars. |
className | string | — | Additional CSS classes for the container. |
Microphone permission required