Chat Bubble

display

Individual chat message bubble with avatar, timestamp, and own/other variants.

Preview

No preview available

Check the code examples below.

Installation

npm install @launchapp/design-system
Import
import { ChatBubble } from "@launchapp/design-system";

Examples

Received message

<ChatBubble message="Hey! How's it going?" timestamp="10:00 AM" />

Sent message

<ChatBubble message="Great, thanks!" isOwn timestamp="10:01 AM" />

Props

PropTypeDefaultDescription
message*
stringMessage text content.
isOwn
booleanfalseStyle as sent message when true.
timestamp
stringTimestamp string displayed below the bubble.
avatar
React.ReactNodeAvatar element for the sender.