[object Promise]

# ChatUnreadMarker API

## Demos

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

- [Chat - Unread marker](/x/react-chat/display/unread-marker/)
- [Chat - Read receipts](/x/react-chat/multi-conversation/read-receipts/)

## Import

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

## Props

| Name | Type | Default | Required | Description |
|------|------|---------|----------|-------------|
| messageId | `string` | - | Yes |  |
| classes | `object` | - | No | Override or extend the styles applied to the component. |
| index | `number` | - | No |  |
| items | `Array<string>` | - | No |  |
| label | `node` | - | No |  |
| 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'` | `.MuiChatUnreadMarker-root` | The component that renders the root. |
| label | `'div'; a styled 'span' in `ChatUnreadMarker`` | `.MuiChatUnreadMarker-label` | The component that renders the label. |

## 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/ChatIndicators/ChatUnreadMarker.tsx](https://github.com/mui/material-ui/tree/HEAD/packages/x-chat/src/ChatIndicators/ChatUnreadMarker.tsx)