Message
Conversation rows with avatars, grouped bubbles, optional metadata and message actions.
Deploying the preview real quick.
It's 4:55 PM. On a Friday.
It's a one-line change.
Delivered
It's always a one-line change.
Alright, let me take a look.
Oliver is typing…
Installation
Install the shared package once in your Exact app. This version is a beta.
bun add --exact @rightui/ui@0.4.0-beta.4
The Exact compiler requires Bun 1.4.2, regardless of which package manager installs the package.
Complete the font, app metadata and root provider setup (required for both installation methods).
Import
use Message, MessageScroller, MessageGroup, MessageRow, MessageAvatar, MessageBody, MessageHeader, MessageMeta, MessageTyping from "@rightui/ui"
Usage
Use Message for a complete conversation row, or compose MessageGroup, MessageRow, MessageAvatar, MessageBody, MessageHeader and MessageMeta. Reuse Avatar, Bubble, Attachment and Button for the content and actions.
API Reference
Properties from the component source. State lives in your component; actions receive the updated value.
Message.id
string
Message.author
string
Message.initials
string
Message.time
string
Message.align
string
MessageGroup.id
string
MessageRow.id
string
MessageRow.align
string
MessageBody.align
string
MessageHeader.label
string
MessageMeta.label
string
MessageMeta.align
string
MessageTyping.id
string
MessageTyping.label
string
MessageTyping.reduced
bool
MessageScroller.id
string
MessageScroller.messages
ContentMessage[]
MessageScroller.historyLoaded
bool
MessageScroller.loadHistory
action
MessageScroller.send
action
MessageScroller.latest
action