Skip to content
SevenUI
Sign in
On this page

Message

Chat message layout with avatar, content, header, and footer.

EC
Emma · 09:41
Hey! Did you get a chance to look at the new landing page?
No rush — just curious.
Just did — the exposed grid looks great on mobile.
Delivered

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.

PropTypeDefault
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.

Was this page helpful?