Voice AI Orb

A voice-agent status orb for listening, reasoning, and speaking — with EQ bars, mute, and a short transcript.

Listening

Mic-active idle. Use the control bar or pass defaultState.

Loading…

Installation

CLI
npx @sonojs/ui@latest add voice-ai-orb
Also needsnpm i lucide-react

Usage

voice-ai-orb.tsx
import { VoiceAiOrb } from "@/components/ui/voice-ai-orb"

export function Example() {
  return (
    <VoiceAiOrb
      state="listening"
      transcript="Can you audit our PostgreSQL query latency?"
    />
  )
}

Props

PropTypeDefaultDescription
state"listening" · "reasoning" · "speaking"uncontrolledControlled voice state. Omit for internal control bar.
defaultStateVoiceAiOrbState"listening"Initial state when uncontrolled.
mutedbooleanuncontrolledControlled mute. Collapses EQ bars when true.
transcriptstringsample audit questionQuoted line under the status label.
showControlsbooleantrueListen / Reason / Speak / mute control bar.
classNamestring—Merge classes on the root.