Messaging

Chat bubble components for conversation UIs — text messages, file attachments, typing indicators, and emoji reactions. Supports both incoming (left) and outgoing (right) sides.

Text messages

Incoming messages show an avatar with optional online status dot. Outgoing messages align to the right with the primary colour bubble.

Phoenix BakerFriday 2:20pm
Hey Olivia, can you please review the latest design when you can?
YouFriday 2:20pm
Sure thing, I'll have a look today.

Reactions

Pass a reactions array to append emoji reaction pills below any bubble. Omit count to show just the emoji.

Phoenix BakerFriday 2:20pm
Hey Olivia, can you please review the latest design when you can?
YouFriday 2:20pm
Sure thing, I'll have a look today.

File attachments

Set type="file" and pass an attachment object with name, size, and optional fileType ("image" or "document").

Phoenix BakerFriday 2:20pm
Latest design screenshot.jpg1.2 MB
YouFriday 2:20pm
Tech design requirements.pdf200 KB

Typing indicator

Set type="typing" to render an animated three-dot bubble, signalling that the other person is composing a reply.

Phoenix Baker

MessageReaction

The standalone MessageReaction pill — emoji only or with a count. Can be used independently for custom reaction toolbars.

Conversation thread

Composing multiple ChatMessage items with a gap between them forms a complete conversation thread.

Phoenix BakerFriday 2:20pm
Hey Olivia, can you please review the latest design when you can?
YouFriday 2:20pm
Sure thing, I'll have a look today.
Phoenix BakerFriday 2:20pm
Latest design screenshot.jpg1.2 MB
YouFriday 2:20pm
Tech design requirements.pdf200 KB
Phoenix Baker