Skip to main content
The chat element renders a real-time chat UI connected to a specific channel. Its colors and message layout follow the theme and chat style you set. For every option it takes on the web, see the ChatElement reference.

Basic usage

Pass a channelId to connect to a specific channel, DM, or support chat.

Deep linking to messages

To scroll to and highlight a specific message, pass focusMessageId. The view will automatically navigate to that message.

Event handling

Pass event callbacks to listen for profile selections, link selections, and sent messages.