Skip to contentSkip to content

MessageMeta API

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

Demos

Import

import { MessageMeta } from '@mui/x-chat-headless/message';
// or
import { MessageMeta } from '@mui/x-chat-headless';
// or
import { MessageMeta } from '@mui/x-chat';

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

Props

NameTypeDescription
slotPropsMessageMetaSlotProps
slotsPartial

See Slots API below for more details.

The component cannot hold a ref.

Slots

Slot nameClass nameDefault componentDescription
edited
meta
status
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.
streamingProgressIndicatorThe animated indicator bar inside the streaming progress track.
streamingProgressTrackThe track element wrapping the streaming progress indicator.
timestamp

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.