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/conversation-list';
// or
import { ConversationListRoot } from '@mui/x-chat-headless';
// or
import { ConversationListRoot } from '@mui/x-chat';

Learn about the difference by reading this guide on minimizing bundle size.

Props

NameTypeDefaultDescription
slotPropsConversationListRootSlotProps-
slotsPartial-

See Slots API below for more details.

variant'compact'
| 'default'
'default'

The visual variant of the conversation list. - 'default' – shows avatar, title, preview, timestamp, and unread badge. - 'compact' – shows only a small unread indicator, the title, and an actions button.

The component cannot hold a ref.

Slots

Slot nameClass nameDefault componentDescription
item
itemActions
itemAvatar
itemContent
preview
root
scrollbar
scrollbarThumb
scroller
timestamp
title
unreadBadge
viewport

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.