Skip to contentSkip to content

MessageListRoot API

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

Demos

Import

import { MessageListRoot } 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
messageListThe component that renders the message list.
messageListScrollerThe component that renders the message list scroller.
messageListContentThe component that renders the message list content.
messageListOverlayThe component that renders the message list overlay.
messageListScrollbarThe component that renders the message list scrollbar.
messageListScrollbarThumbThe component that renders the message list scrollbar thumb.
messageListStatusThe visually-hidden role="status" element announcing streaming transitions ("Assistant is responding" / "Response complete") to screen readers. Pass null-rendering component to silence the announcements.

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.