Voice orb
An animated orb that shows idle, listening, thinking and speaking states.
When to use
- A voice assistant needs a clear, calm status indicator.
- You want reduced-motion users to still see the state.
When not to use
- The state can be shown with a short label alone.
Installation
terminal
pnpm dlx shadcn@latest add @caliper/voice-orb
Adds its 2 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
VoiceOrb
6 props
PropTypeDefaultDescription
state *VoiceState—
levelnumber0
onToggle(() => void)—Called when the orb is pressed to start or end listening.
labelstring"Voice"
sizenumber144
classNamestring—
Keyboard
- No custom key handling; Tab and the native activation keys do the work.
Accessibility
It exposes status semantics, with aria-label, 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-orb.mdThe index of every part is at /llms.txt.