MessageContent API - MUI XSkip to contentSkip to content🚀 Material UI and MUI X v9 are out! Check out the announcement blogpost. Search… MUI X v9.4.0 What's new in MUI XIntroductionCommon conceptsData GridDate and Time PickersChartsTree ViewSchedulerPreviewChatPreviewOverviewQuickstartMain featuresChatBoxAdaptersStreamingError handlingCustomizationSlots and compositionStylingTailwind CSSLocalizationAdvanced featuresBuilding BlocksDisplayBehaviorMulti-conversationAI and agentsBackend integrationDemosResourcesHooks ReferenceSelectors ReferenceEvents & CallbacksPerformanceAPI ReferenceAPI referenceChatBoxChatCodeBlockChatComposerAttachButtonChatComposerAttachmentListChatComposerHelperTextChatComposerLabelChatComposerSendButtonChatComposerTextAreaChatComposerToolbarChatConfirmationChatConversationChatConversationHeaderChatConversationHeaderActionsChatConversationHeaderInfoChatConversationListChatConversationSubtitleChatConversationTitleChatDateDividerChatLayoutChatMessageActionsChatMessageAuthorLabelChatMessageAvatarChatMessageContentChatMessageGroupChatMessageInlineMetaChatMessageListChatMessageMetaChatMessageSkeletonChatMessageSourceChatMessageSourcesChatProviderChatRootChatScrollToBottomAffordanceChatSuggestionsChatTypingIndicatorChatUnreadMarkerComposerAttachButtonComposerAttachmentListComposerHelperTextComposerLabelComposerRootComposerSendButtonComposerTextAreaComposerToolbarConversationHeaderConversationHeaderActionsConversationListItemConversationListItemAvatarConversationListPreviewConversationListRootConversationListTimestampConversationListTitleConversationListUnreadBadgeConversationRootConversationSubtitleConversationTitleMessageActionsMessageAuthorLabelMessageAvatarMessageContentMessageErrorMessageGroupMessageListDateDividerMessageListRootMessageMetaMessageRootScrollToBottomAffordanceTypingIndicatorUnreadMarkerMigrationMessageContent API NameTypeDescriptionThe component cannot hold a ref.SlotsView:table Slot nameClass nameDefault componentDescriptioncontentbubbleSource code Edit this page Search…
API reference docs for the React MessageContent component. Learn about the props, CSS, and other APIs of this exported module.
DemosFor examples and details on the usage of this React component, visit the component demo pages:
Chat - Headless messagesImportimport { MessageContent } from '@mui/x-chat/headless';
// or
import { MessageContent } from '@mui/x-chat/headless';Learn about the difference by reading this guide on minimizing bundle size.
PropsView:tableIf you did not find the information in this page, consider having a look at the implementation of the component for more detail.
Was this page helpful?
•
Blog•
StoreContents
DemosImportPropsSlotscontentbubbleSource codeBecome a Diamond sponsorMUI stands in solidarity with Ukraine.MessageContent API - MUI X,AI智能索引,全网链接索引,智能导航,网页索引
- API reference docs for the React MessageContent component. Learn about the props, CSS, and other APIs of this exported module.