Skip to content

Voice Orb

An orb for voice agents: a turning sphere of dots that breathes when idle, pushes out with the sound while listening, collapses into a spinning ring while thinking and ripples while speaking. Switch to the fluid look for colour or tiny sizes.

On this page

Examples

State
Look
Preview

Installation

Installation is part of Pro

Pro components install from a licensed registry. The live preview stays open to everyone.

Props

variant
"particles" | "fluid"
Default"particles"
Particles: a turning sphere of dots on canvas. Fluid: soft colour flowing inside a glass sphere, pure CSS.
state
"idle" | "listening" | "thinking" | "speaking"
Default"idle"
Particles: idle breathes, listening pushes the dots out with the sound, thinking collapses into a spinning ring, speaking sends ripples across. Fluid: idle drifts, listening draws rings in, thinking swirls with a comet on the rim, speaking ripples out.
amplitude
number (0–1)
Live loudness while listening or speaking: the layers and the glow swell with it. Without it the orb makes its own speech-like motion.
size
"sm" | "md" | "lg" | number
Default"md"
120, 200 or 280 px wide, or a number (it works down to ~32 px).
tone
"deep" | "bright"
Default"deep"
Fluid: deep shades the body toward night, for dark pages. Bright keeps every layer light, so a warm hue stays a clean coral to peach with no brown in between, for light pages.
hue / accent
string (CSS colour)
Defaultindigo / violet
Fluid: the orb's colour and the colour flowing inside it. Particles: the dots use currentColor; accent tints the front dots.
caption
ReactNode | boolean
Text under the orb; true shows the state.
paused
boolean
Defaultfalse
Hold the orb at rest.
label
string
Default"Voice assistant, idle"
Accessible description (role=img).
useSimulatedAmplitude(on)
hook → number
A speech-like 0–1 curve for demos (speechEnvelope). One rAF loop at ~30 fps, only while on.
useMicAmplitude(on)
hook → { amplitude, active, error }
Loudness from the microphone while on. Asks once; stops the stream when off. Audio stays in the page.
Motion
-
States morph over ~0.6s. Particles: one rAF on a DPR-aware canvas, no per-frame allocation. Fluid: transform, opacity and static blur only. Both pause offscreen, in hidden tabs and on paused; prefers-reduced-motion shows a still orb in the state's shape.

When to use

When to use

  • Voice agents: a single orb that shows idle, listening, thinking and speaking, optionally driven by live audio.
  • Hands-free or call-style screens where text is secondary.
  • Particles for a calm, monochrome look on a dark stage; fluid for colour or very small sizes such as a mic button.

When not to use

  • As the only status. Pair it with a caption or a live region so the state can be read.
  • Text chat thinking indicators: use Thinking State.
  • A generic loading state: use Spinner.

Using with AI

Use Copy page for AI above to give your assistant this page, Copy prompt under the install command to have it installed and wired to your data, or connect the Knowns UI MCP server and just ask:

  • Add the Knowns UI Voice Orb to my app and wire it to my own data.
  • I need voice agents: a single orb that shows idle, listening, thinking and speaking, optionally driven by live audio. Set that up with the Knowns UI Voice Orb.
  • Which Voice Orb props do I need for a minimal setup? Show me a short example.

With the server connected, your assistant calls get_component({ name: "voice-orb" }) and search_docs({ query: "voice orb" }). Pro props, full examples and source come back once your license key is in the MCP config.

Need help?

Stuck on Voice Orb, or found something off? We read every message.