Skip to contentSkip to content

ChatMessageMeta API

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

Demos

Import

import { ChatMessageMeta } from '@mui/x-chat/ChatMessage';
// or
import { ChatMessageMeta } from '@mui/x-chat';

Learn about the difference by reading this guide on minimizing bundle size.

Props

NameTypeDefaultDescription
slotPropsobject{}

The props used for each component slot.

slotsobject{}

Overridable component slots.

See Slots API below for more details.

sxArray<func
| object
| bool>
| func
| object
-

The system prop that allows defining system overrides as well as additional CSS styles.

See the `sx` page for more details.

The component cannot hold a ref.

Slots

Slot nameClass nameDefault componentDescription
metaThe component that renders the meta.
timestampThe component that renders the timestamp.
statusThe component that renders the status.
editedThe component that renders the edited.
streamingProgressProgressRoot (Base UI Progress.Root wrapper)The root element of the streaming progress indicator. Rendered by Base UI Progress.Root when message.status === 'streaming'. Provides role="progressbar" and aria-valuetext for screen readers.
streamingProgressTrackThe track element wrapping the streaming progress indicator.
streamingProgressIndicatorThe animated indicator bar inside the streaming progress track.

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.