Root Files
| File | Purpose |
|---|---|
App.tsx | Main application entry point with theme provider setup |
package.json | Project dependencies and npm scripts |
metro.config.js | Metro bundler configuration |
babel.config.js | Babel transpiler configuration |
Key Folders
config/
Configuration management for the Builder settings.
| File | Purpose |
|---|---|
store.ts | Zustand store that manages Builder settings, provides hooks for accessing configuration |
config.json | Default configuration template with all feature flags, layout, and style settings |
components/
Each component folder contains the main component file and associated hooks. These are the building blocks of your chat UI.
navigation/
Navigation configuration using React Navigation.
utils/
Utility functions and application constants.
assets/
Static assets including icons, images, and fonts.
Platform Directories
ios/
iOS-specific native code and configuration.
android/
Android-specific native code and configuration.
Quick Reference: Where to Customize
| What you want to change | Where to look |
|---|---|
| Enable/disable features | src/config/config.json |
| Access configuration at runtime | src/config/store.ts |
| CometChat credentials | src/utils/AppConstants.tsx |
| Theme colors & styles | App.tsx (theme provider) |
| Custom fonts | src/assets/fonts/, platform font directories |
| Navigation structure | src/navigation/ |
| Chat UI components | src/components/conversations/ |
| Call UI components | src/components/calls/ |
| User management UI | src/components/users/ |
| Group management UI | src/components/groups/ |
Prefer using
config.json for feature toggles and the theme provider in App.tsx for styling. For extensive changes, create new components rather than modifying core files directly.Next Steps
UI Kit Builder Settings
Configure feature toggles and behavior.
Customizations
Modify component props, styling, and behavior.
Theming
Customize colors, typography, and styling.
Components
Explore available UI components.