Skip to contentSkip to content

ConversationListRoot API

API reference docs for the React ConversationListRoot component. Learn about the props, CSS, and other APIs of this exported module.

Demos

Import

import { ConversationListRoot } from '@mui/x-chat/headless';

Props

Props of the native component are also available.

NameTypeDescription
The component cannot hold a ref.

Slots

Slot nameClass nameDefault componentDescription
root'div'The component that renders the root.
scrollerScrollRoot (Base UI ScrollArea.Root wrapper); a styled 'div' in `ChatConversationList`The component that renders the scroller.
viewportScrollViewport (Base UI ScrollArea.Viewport wrapper); a styled 'div' in `ChatConversationList`The component that renders the viewport.
scrollbarScrollScrollbar (Base UI ScrollArea.Scrollbar wrapper); `ChatConversationList` renders noneThe component that renders the scrollbar.
scrollbarThumbScrollThumb (Base UI ScrollArea.Thumb wrapper); `ChatConversationList` renders noneThe component that renders the scrollbar thumb.
itemConversationListItem; a styled 'div' in `ChatConversationList`The component that renders the item.
itemAvatarConversationListItemAvatarThe component that renders the item avatar.
itemContentConversationListItemContentThe component that renders the item content.
titleConversationListTitleThe component that renders the title.
previewConversationListPreviewThe component that renders the preview.
timestampConversationListTimestampThe component that renders the timestamp.
unreadBadgeConversationListUnreadBadgeThe component that renders the unread badge.
itemActionsConversationListItemActionsThe component that renders the item actions.

Source code

If you did not find the information in this page, consider having a look at the implementation of the component for more detail.