Available Templates
Popup Chat
Ready-made chat dialog with text and voice input
Agent Overlay
Full-screen animated overlay for voice-first interaction
KuralitPopupChat
A ready-to-use chat dialog template that can be opened on any page.Features
- ✅ Text messaging - Send and receive text messages
- ✅ Voice input - Stream audio from microphone
- ✅ Real-time responses - Receive streaming and final responses
- ✅ Tool calls display - Show when agent uses tools
- ✅ Connection status - Visual connection indicator
- ✅ Customizable - Theme colors and widget composition
Basic Usage
With Configuration
Configuration Options
- Theme:
primaryColor,backgroundColor,messageBubbleColor - Features:
enableAudioMode,enableToolCalls - Customization:
messageBuilder,textInputBuilder,audioInputBuilder - Dialog:
width,height,borderRadius
KuralitAgentOverlay
A full-screen animated overlay with voice-first interaction.Features
- ✅ Full-screen overlay - Immersive experience
- ✅ Voice-first - Optimized for voice interaction
- ✅ Animated UI - Golden borders and animations
- ✅ Real-time transcription - See STT as you speak
- ✅ Conversation history - View past messages
- ✅ Text input option - Fallback to text input
Basic Usage
When to Use
- Voice-first apps - When voice is the primary interaction
- Immersive experience - Full-screen focus on conversation
- Beautiful animations - Premium UI with golden borders
- Quick integration - No custom UI needed
Template Comparison
| Feature | Popup Chat | Agent Overlay |
|---|---|---|
| UI Style | Dialog | Full-screen overlay |
| Best For | Quick chat integration | Voice-first interaction |
| Text Input | ✅ Yes | ✅ Yes (optional) |
| Voice Input | ✅ Yes | ✅ Yes (primary) |
| Animations | Standard | Premium (golden borders) |
| Customization | High | Medium |
| Use Case | General chat | Voice assistants |
Customization
Custom Message Builder
Custom Input Builder
Complete Example
Best Practices
When to Use Templates
- Quick integration - Get started fast
- Standard UI - Templates provide good default UI
- Prototyping - Test functionality quickly
- Production - Templates are production-ready
When to Build Custom UI
- Brand requirements - Need specific design
- Complex layouts - Templates don’t fit your layout
- Advanced features - Need features not in templates
Next Steps
- Popup Chat Example → - Complete popup chat example
- Agent Overlay Example → - Complete overlay example
- Basic Usage → - Build custom UI
Related
- Basic Usage → - Learn the fundamentals
- API Reference → - Template API reference

