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.
| Name | Type | Description |
|---|---|---|
| classes | Partial | See CSS classes API below for more details. |
| slotProps | MessageMetaSlotProps | |
| slots | Partial | See Slots API below for more details. |
The component cannot hold a ref.
| Slot name | Class name | Default component | Description |
|---|---|---|---|
| edited | |||
| meta | |||
| status | |||
| streamingProgress | ProgressRoot (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. | |
| streamingProgressIndicator | The animated indicator bar inside the streaming progress track. | ||
| streamingProgressTrack | The 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.