For AI agents: Find a documentation index at https://talkjs.com/llms.txt (full content at https://talkjs.com/llms-full.txt). Get a markdown version of any page by appending .md to its URL path.

<MessageListHeader>

Render content above messages.

View as Markdown

The <MessageListHeader> component is rendered above the message list, right below the ChatHeader. It does not scroll with the message list.

interface MessageListHeaderProps

Properties

A collection of objects which are passed to all Chatbox theme components.

Example

In the default theme, this component renders nothing. Here's a basic implementation of the <MessageListHeader> component:

import { html } from "@talkjs/web-components";
/** @import { MessageListHeaderProps } from "@talkjs/web-components"; */

/** @param {MessageListHeaderProps} props */
export function MessageListHeader({ common }) {
  return html`
    <div className="t-message-list-header">
      <!-- Your header content here -->
    </div>
  `;
}