Skip to contentSkip to content

MessageAvatar API

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

Demos

Import

import { MessageAvatar } from '@mui/x-chat/headless';

Props

NameTypeDescription
The component cannot hold a ref.

Slots

Slot nameClass nameDefault componentDescription
avatar'div'The component that renders the avatar.
image'img'The component that renders the image.

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.