Chat Components
ChatPanel
Complete chat interface with artifacts:AgentInterface
Chat interface for custom layouts:ArtifactsPanel
Displays interactive artifacts:Input Components
MessageInput
Rich text input with attachments:AttachmentButton
File attachment selector:Selector Components
ModelSelector
Model selection dialog:ThinkingLevelSelector
Thinking level selector:Dialog Components
SettingsDialog
Settings with multiple tabs:SessionListDialog
Session browser:ApiKeyPromptDialog
API key prompt:Message Renderers
Built-in Renderers
The library includes renderers for:- User messages with attachments
- Assistant messages with streaming
- Tool calls and results
- Thinking blocks
- Artifacts
- Images and documents
Custom Renderers
Register custom message renderers:Tool Renderers
Register custom tool result renderers:Attachments
Loading Attachments
Attachment Structure
CORS Proxy
For browser environments:Internationalization
Add translations:Next Steps
Web UI Overview
Learn web UI concepts
API Reference
Complete API documentation
Example App
View complete example