Voice agent
A full voice assistant screen with states and transcript.
Aria
Call ended · 0:00
Tap to talk
Captions appear here as you talk.
Press Call again to place a simulated call.
When to use
- Voice-first support or concierge.
When not to use
- Text-only.
Installation
pnpm dlx shadcn@latest add @caliper/voice-agent
Adds its 4 files to components/ui/, each with its own stylesheet, and installs their packages. Pro installs with your access token, set up once per project. See Pro access. The first part also adds Caliper UI’s tokens; import them once as in Installation.
API reference
VoiceAgent
13 props
Keyboard
- No custom key handling; Tab and the native activation keys do the work.
Accessibility
It exposes status and log semantics, with aria-label, aria-live, aria-pressed and aria-hidden kept in step with state. Changes that matter are announced through a live region.
Notes for AI
Give your coding assistant this page as Markdown instead of screenshots: the props, keyboard and examples in one file.
/docs/components/voice-agent.mdThe index of every part is at /llms.txt.