A modern, highly customizable, and responsive Chat UI component. Get started with an AI Agent Chatbot in minutes.
@dmanikanta17/chat-ui works in any environment that can install npm packages or load JavaScript & CSS files.
Note: If you encounter dependency conflicts, try running: npm i @dmanikanta17/chat-ui --legacy-peer-deps
Import the component and CSS in your layout or page.
| Prop | Type | Default | Description |
|---|---|---|---|
| endpoint | string | Required | Your backend API URL |
| title | string | "AI Assistant" | Header title |
| logoSrc | string | DEFAULT_LOGO | Chatbot avatar URL |
| welcomeMessage | string | "Welcome..." | Initial greeting bubble |
| description | string | "I'm here..." | Subtitle text below welcome message |
| footerText | ReactNode | Default Footer | Footer text or component |
| inputPlaceholder | string | "Message..." | Input placeholder text |
| soundSrc | string | DEFAULT_SOUND | Notification sound URL |
| theme | "light" | "dark" | "auto" | "light" | The color theme of the chat UI. Use "auto" for dynamic system theme detection. |
| position | "right" | "left" | "right" | Position of the chat widget on screen. |
Online and ready to help
Welcome to AI Assistant 💛