Voice conversation
A transcript of a spoken conversation with speaker labels.
Aria
Hello, this is Aria from Northwind Clinic. How can I help?
You
Hi, I would like to move my appointment to Thursday.
AriaInterrupted
Of course. I can see your appointment on Wednesday at 10:30. Would Thursday morning or afternoon suit you better?
You
Morning, if there is anything before noon.
Aria
There is a slot at 9:15 and one at 11:00. Which would you like?
You
Nine fifteen please.
Aria
Done. You are booked for Thursday at 9:15, and I have sent you a confirmation by text.
You
Thank you, goodbye.
When to use
- Showing a call.
When not to use
- Text chats.
Installation
pnpm dlx shadcn@latest add @caliper/voice-conversation
Adds its 3 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
VoiceConversation
3 props
Keyboard
- No custom key handling; Tab and the native activation keys do the work.
Accessibility
It exposes status semantics, with aria-label, aria-hidden, aria-valuetext and aria-current kept in step with state. Changes that matter are announced through a live region.
Motion
- State changes animate with the library's shared durations and curves, so its timing matches every other part.
- Under reduced motion each change lands on its end state without movement; nothing is hidden or skipped.
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-conversation.mdThe index of every part is at /llms.txt.