[object Promise]

# ChatConversation API

## Demos

For examples and details on the usage of this React component, visit the component demo pages:

- [Chat - Conversation](/x/react-chat/basics/conversation/)
- [Chat - Thread](/x/react-chat/material/thread/)
- [Chat - Conversation header](/x/react-chat/multi-conversation/conversation-header/)

## Import

```jsx
import { ChatConversation } from '@mui/x-chat/ChatConversation';
// or
import { ChatConversation } from '@mui/x-chat';
```

## Props

| Name | Type | Default | Required | Description |
|------|------|---------|----------|-------------|
| children | `node` | - | No |  |
| classes | `object` | - | No | Override or extend the styles applied to the component. |
| slotProps | `object` | `{}` | No |  |
| slots | `object` | `{}` | No |  |
| sx | `Array<func \| object \| bool> \| func \| object` | - | No | The system prop that allows defining system overrides as well as additional CSS styles. |

> **Note**: The `ref` is forwarded to the root element.

> Any other props supplied will be provided to the root element (native element).

## Slots

| Name | Default | Class | Description |
|------|---------|-------|-------------|
| root | `'div'` | `.MuiChatConversation-root` | The component that renders the root. |

## CSS

### Rule name

| Global class | Rule name | Description |
|--------------|-----------|-------------|
| - | header | Styles applied to the conversation header element. |
| - | headerActions | Styles applied to the conversation header actions element. |
| - | headerInfo | Styles applied to the conversation header info element. |
| - | subtitle | Styles applied to the conversation subtitle element. |
| - | title | Styles applied to the conversation title element. |

## Source code

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

- [/packages/x-chat/src/ChatConversation/ChatConversation.tsx](https://github.com/mui/material-ui/tree/HEAD/packages/x-chat/src/ChatConversation/ChatConversation.tsx)