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.

<ChatSearchBox>

Search messages within a conversation.

View as Markdown

Note: The in-conversation message search functionality is only available on the TalkJS Growth plan and above.

The <ChatSearchBox> component displays a text input which lets the user enter a search query.

interface ChatSearchBoxProps

Properties

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

searchQuery
: string

The current query used by in-conversation message search.

Example

In the default theme, the <ChatSearchBox> component is implemented as follows:

1// loading...