Skip to main content

Where It Fits

CometChatThreadHeader is a Component that displays the parent message and number of replies in a thread.

Minimal Render


Styling

Using Style you can customize the look and feel of the component in your app. Pass a styling object as a prop to the CometChatThreadHeader component.

Visibility Props

Custom Template

The template property is used to configure and set a custom template for parent message bubble.

Thread Subscription

On React Native the subscription bell belongs to CometChatMessageHeader — the landed design places it in the thread screen’s top bar rather than in the reply-count row. A thread screen usually renders both: the message header as the top bar, and this component beneath it for the parent message and reply count.
This component’s own TrailingView replaces the trailing area of the reply-count bar. It is the escape hatch for putting your own control there — it does not host the subscription bell. See CometChatMessageHeader → Thread Subscription for the bell’s props, and the Thread Subscription guide for the full feature.

Next Steps

Threaded Messages

Display the complete threaded conversation view

Message List

Display the list of messages in a conversation

Message Template

Customize message bubble templates

Component Styling

Customize the appearance of UI Kit components