Documentation Index
Fetch the complete documentation index at: https://cometchat-22654f5b-docs-android-v6-beta2.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
CometChatBadge is the custom component which is used to display the unread message count. It can be used in places like CometChatListItem, etc.

Properties
| Name | Type | Description |
|---|---|---|
| count | number | The numeric value to be displayed |
| badgeStyle | BadgeStyle | Styling properties of the element |
Badge Style
| Name | Description |
|---|---|
| textFont | Sets all the different properties of font for the badge text. Reference link |
| textColor | Sets the foreground color of the text displayed on the badge. |
Usage
- HTML
- JavaScript