Received Message

Incoming message bubble with sender name and timestamp.

Alice
Hey, how's the project going?
2:30 PM

Sent Message

Outgoing message bubble aligned to the right.

Going great! Just pushed the latest changes.
2:31 PM

Conversation

Full back-and-forth conversation between two participants.

Alice
Hey, how's the project going?
2:30 PM
Going great! Just pushed the latest changes.
2:31 PM
Alice
Awesome! Can you send me the PR link?
2:32 PM
Sure, just sent it to your email.
2:33 PM

Group Chat

Multiple senders in a group conversation thread.

Bob
Who's joining the standup?
3:00 PM
Alice
I'll be there!
3:01 PM
Count me in.
3:01 PM

Usage

<ChatBubble sender="Alice" time="2:30 PM" variant="received">Hey, how's the project going?</ChatBubble><ChatBubble time="2:31 PM" variant="sent">Going great!</ChatBubble>

Props

PropTypeDefaultDescription
sendertext""Sender name displayed above the bubble
timetext""Timestamp displayed below the bubble
varianttext"received"Style variant: received or sent
childrencontent-Message content