AI Agent Component Spec
AI Agent Component Spec
- Package:
@cometchat/chat-uikit-react - Install:
npm install @cometchat/chat-uikit-react - Required setup:
CometChatUIKit.init(UIKitSettings)thenCometChatUIKit.login("UID")— must complete before rendering any component - Key components:
CometChatConversations,CometChatMessageList,CometChatMessageComposer,CometChatMessageHeader,CometChatUsers,CometChatGroups - Theming: Override CSS variables on
.cometchatclass. See Theming - Calling: Requires separate
@cometchat/calls-sdk-javascriptpackage. See Call Features - SSR: Components require browser APIs — use client-side only rendering for Next.js/Astro
User Interface Preview

Try Live Demo
Integration
Individual components — conversation lists, message lists, message composer, etc. — each with built-in chat logic. Import, arrange in a layout, and apply styling as needed.Helpful Resources
React Sample App
Fully functional sample application.
UI Kit Source Code
Complete UI Kit source on GitHub.
Figma Design File
UI design resources for customization and prototyping.