Skip to content
caliper ui pro docs

Voice conversation

A transcript of a spoken conversation with speaker labels.

Pro
0:00 / 0:41
  1. Aria

    Hello, this is Aria from Northwind Clinic. How can I help?

  2. You

    Hi, I would like to move my appointment to Thursday.

  3. AriaInterrupted

    Of course. I can see your appointment on Wednesday at 10:30. Would Thursday morning or afternoon suit you better?

  4. You

    Morning, if there is anything before noon.

  5. Aria

    There is a slot at 9:15 and one at 11:00. Which would you like?

  6. You

    Nine fifteen please.

  7. Aria

    Done. You are booked for Thursday at 9:15, and I have sent you a confirmation by text.

  8. You

    Thank you, goodbye.

When to use

  • Showing a call.

When not to use

  • Text chats.

Installation

terminal
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
PropTypeDefault
agentName *string—
turns *readonly VoiceTurn[]—
classNamestring—

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

The index of every part is at /llms.txt.

More in Voice screens