ReadonlyariaAccessible label for the chat view.
ReadonlycomposerComposer input mode.
ReadonlycurrentThe current user (their messages are right-aligned).
ReadonlymessagesThe list of messages to display.
ReadonlymessageEmitted when the user sends a message.
ReadonlymessageOptional custom template for rendering individual messages. Receives a MessageTemplateContext.
ReadonlyplaceholderPlaceholder text for the composer.
A chat / messaging view composing UIAvatar, UIRichTextEditor, and a scrollable message list with a composer bar.
Messages are supplied via the
messagesinput. The component groups them by date and renders each with sender avatar, bubble, and timestamp. The current user's messages are right-aligned.The composer bar supports both plain-text (
textarea) and rich-text (UIRichTextEditor) modes via thecomposerModeinput.Custom message templates can be projected using a
#messageTemplatecontent child.Basic usage
Rich-text composer