Message
Chat message layout with avatar, content, header, and footer.
Installation
Bash
Usage
Message owns the row layout — avatar, alignment, header, and footer — while the visible surface is rendered inside it, typically with Bubble. Wrap conversations in Message Scroller for scrolling. The avatar anchors to the bottom of the row and shifts up when a footer is present.
API reference
Message
Extends div. The row wrapper; align="end" reverses the row for
outgoing messages and end-aligns the content’s children.
| Prop | Type | Default |
|---|---|---|
align | "start" | "end" | "start" |
MessageGroup, MessageAvatar, MessageContent, MessageHeader, MessageFooter
Structural wrappers extending div. MessageGroup stacks consecutive
messages from one sender; MessageHeader and MessageFooter render
muted meta rows above and below the surface.