Dev.to AI 🤖 Ai 👁 0

Voice Agent UI

Voice Agent Interactive grid-based voice assistant interface with multiple state visualizers. Live Simulation >> [Preview] [Usage] import { VoiceAgent } from '@unbrn/ui/VoiceAgent'; export default function Exa

Voice Agent UI

Voice Agent

Interactive grid-based voice assistant interface with multiple state visualizers.

Live Simulation >>

[Preview]

Preview

[Usage]

import { VoiceAgent } from '@unbrn/ui/VoiceAgent';

export default function Example() {
  return (
    <VoiceAgent
      status="speaking"
      onMuteToggle={() => console.log('Muted')}
      onDisconnect={() => console.log('Hangup')}
    />
  );
}

Examples

Agent Statuses

The voice agent supports 5 statuses: idle, connecting, listening, speaking, and paused.

Agent Statuses Preview

Speaking Patterns

Choose from three distinct visualization algorithms: blob, wave, and ripple.

Speaking Patterns Preview

Colors

Custom color accents support any valid CSS color property (Hex, RGB, HSL, presets).

Colors Preview

This voice agent component is the part of Unbrn/UI considered to be supporting and contributing to our project.

Github >>

📰 Read the original article on Dev.to AI

Originally published by Dev.to AI. Aggregated on AIWithGhost for educational purposes — full credit and traffic to the original publisher.