Skip to main content

Where It Fits

CometChatMessageComposer is a Widget that enables users to write and send a variety of messages, including text, image, video, and custom messages. Features such as Live Reaction, Attachments, and Message Editing are also supported by it.
CometChatMessageComposer is comprised of the following Base Widgets:

Minimal Render

The simplest way to render CometChatMessageComposer:

Actions and Events

Callback Props

Component-level callbacks that fire on specific user interactions:

Custom View Slots

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

Example: Custom Auxiliary Button View

Example: Custom Secondary Button View

Example: Custom Send Button View

Example: Custom Header View

Image

Example: Custom Attachment Options

Styling

Customize the appearance of CometChatMessageComposer using CometChatMessageComposerStyle.

Style Properties

Example: Custom Styling

Example: Custom Media Recorder Style

Example: Custom AI Options Style

Advanced

Text Formatters

Assigns the list of text formatters. To configure the existing Mentions look and feel check out CometChatMentionsFormatter.

Props Reference

Message Header

Display user or group details in the header

Message List

Display messages in a conversation

Mentions Formatter

Configure mentions look and feel

Theming

Learn how to customize the look and feel