Skip to main content
The cometchat-builder-settings.json file handles basic feature toggles. For deeper customizations, use the component inputs or modify the exported source directly.

App-Level Customizations

These inputs on the <cometchat-app /> component let you adjust what the chat opens on, without modifying any internal components.

Start on a Specific Tab

Open a Specific Conversation

src/app/app.component.ts
Rebinding user or group switches conversation without remounting, so you can move the chat between conversations by changing the bound value rather than destroying and recreating the component.
When both user and group are bound, the Builder’s chatType setting decides which one wins. Set it to "user" or "group" in your settings file.

Component-Level Customizations

For more advanced customizations, you can modify the UI Kit components used inside the exported code.

How to Customize

  1. Find the component in the UI Kit Components Overview
  2. Check available inputs and customization options
  3. Update inputs in the exported templates, or edit the component source
Angular’s UI Kit takes custom views as TemplateRef inputs — you declare an <ng-template> and pass it in, rather than passing a render function. Below are some examples to help you get started.

Custom Date Format

Customize how sticky date headers appear in the message list. Component: Message List → stickyDateTimeFormat
Default format (for reference):
The message list also accepts separatorDateTimeFormat, messageSentAtDateTimeFormat and messageInfoDateTimeFormat. See Date & Time Formatting.

Custom Conversation Subtitle

Show online status or member count instead of the default last message preview. Component: Conversations → subtitleView
To change a single element — just the avatar, or just the timestamp — use the slots input instead of replacing the whole subtitle section.

Custom Send Button

Replace the default send button with your brand’s icon. Component: Message Composer → sendButtonView
Use the UI Kit’s CSS variables (--cometchat-primary-color and friends) in your own styles rather than hard-coded hex values. Your Builder brand color then flows through automatically, and it keeps working when the theme switches between light and dark.

Styling with CSS Variables

The quickest way to restyle without touching components is to override the UI Kit’s CSS variables. Your Builder theme already writes these — you can narrow or extend them.
The export applies your Builder colors as inline variables on the document element. Overrides scoped to cometchat-app or a component class will win over those for the elements they cover.
See Theming for the full variable reference, and Message Bubble Styling for bubble-specific options.

Next Steps

UI Kit Builder Settings

Configure feature toggles and behavior

Components Overview

Explore all available UI components

Theming

Customize colors, typography, and styling

Localization

Add multi-language support