Skip to contentSkip to content

ChatLayout API

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

Demos

Import

import { ChatLayout } 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.
conversationsPane'div'The component that renders the conversations pane.
threadPane'div'The component that renders the thread pane.

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.