Skip to main content
Version: v4

ThreadComponent

The Thread component represents a message thread, it is a container component that displays a thread with a header, MessageList and MessageInput components.

Usage

The Thread component displays the thread header (built inside the thread), the message list and message input components:

<stream-thread name="thread">
<stream-message-list mode="thread"></stream-message-list>
<stream-message-input mode="thread"></stream-message-input>
</stream-thread>

You can use the default SDK components, or use your own custom components.

Customization

See our customization guide on how to provide your own thread header or thread component.

Did you find this page helpful?