Skip to main content

Where It Fits

CometChatSearch is a full-screen search experience that allows users to find messages, conversations, media, and more through an intuitive and filterable search interface. It can be embedded in multiple contexts — as part of the conversation list, message header, or as a standalone full-screen search experience.

Minimal Render

The simplest way to render CometChatSearch:
You can also embed it as a widget:

Filtering

Use the request builder props to filter which items appear in the search results.

ConversationsRequestBuilder

Filter conversations in the search results:

MessagesRequestBuilder

Filter messages in the search results:
Search within a specific user or group conversation:

Actions and Events

Callback Props

Component-level callbacks that fire on specific user interactions:

Global UI Events

The CometChatSearch component does not produce any global UI events.

Custom View Slots

Customize the appearance of CometChatSearch by replacing default views with your own widgets.

State Views

Conversation View Slots

Message View Slots

Example: Custom Text Message View

Icon Customization

Styling

Customize the appearance of CometChatSearch using CometChatSearchStyle.

Style Properties

Props Reference

Conversations

Display and manage chat conversations

Message List

Display messages in a conversation

Theming

Learn how to customize the look and feel

Localization

Support multiple languages in your app