Skip to content
Get Pro

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.json

API reference

Voice Input

Voice Input properties
PropTypeDefaultDescription
recordingbooleanControls the recording state.
durationstring00:12Accessible elapsed recording time.
onRecordingChange(recording: boolean) => voidRuns when recording starts or pauses.