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
avatarThe component that renders the avatar.
imageThe 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.