Skip to main content
All UI Kit Builder files are contained within the src/CometChat/ directory.
src/
├── CometChat/
│   ├── assets/          # Icons, images, audio files
│   ├── components/      # React components
│   ├── context/         # React Context providers
│   ├── locales/         # Translation files (en, fr, de, etc.)
│   ├── styles/          # CSS files (mirrors components structure)
│   ├── utils/           # Utility functions
│   ├── CometChatApp.tsx
│   ├── CometChatSettings.ts
│   ├── customHooks.ts
│   ├── decl.d.ts
│   └── styleConfig.ts
├── App.tsx
└── index.tsx

Root Files

FileDescription
CometChatApp.tsxMain entry point — import this to render the chat experience
CometChatSettings.tsConfiguration for UI elements, features, and theming
customHooks.tsCustom React hooks used throughout the application
styleConfig.tsGlobal styling configuration

Components

Each component folder contains the main .tsx file and associated hooks (use*.ts).
components/
├── CometChatAddMembers/
├── CometChatBannedMembers/
├── CometChatCallLog/
├── CometChatCreateGroup/
├── CometChatDetails/
├── CometChatHome/
├── CometChatJoinGroup/
├── CometChatLogin/
├── CometChatMessages/
├── CometChatSelector/
└── CometChatTransferOwnership/

Context

context/
├── AppContext.tsx        # Main application context
├── CometChatContext.tsx  # Builder settings context
└── appReducer.ts         # Reducer functions

Customization Tips

What to customizeWhere to look
Feature togglesCometChatSettings.ts
Theme colors & fontsstyleConfig.ts
Component-specific UIstyles/<ComponentName>/
Text & translationslocales/<lang>/<lang>.json
Prefer using settings and CSS overrides. For extensive changes, create wrapper components instead of modifying core files directly.

Next Steps