Voice Input
A tactile recording control with a recessed waveform, red playhead, and pause control.
Loading component preview…
Installation
Add the component source directly to your project.
pnpm dlx shadcn@latest add https://pastaui.com/r/voice-input.jsonAPI reference
Voice Input
| Prop | Type | Default | Description |
|---|---|---|---|
recording | boolean | — | Controls the recording state. |
duration | string | 00:12 | Accessible elapsed recording time. |
onRecordingChange | (recording: boolean) => void | — | Runs when recording starts or pauses. |