# Bubble Display individual messages, group replies from the same sender and attach reactions. [Interactive guide](/docs/components/bubble) · Forge 3.2.0 Use the API for your installed version. Run `npx --no-install wss3-forge api --json` inside the project. ## Implementation guidance ### When to use it Use Bubble to style a conversation payload. Use Message for the entire row, including avatar, metadata and actions. ### How to compose it Use BubbleGroup for consecutive payloads and keep reactions attached to their own message. Present delivery failure in words as well as color. ### What to verify Verify reaction controls have accessible names and do not obscure the payload at narrow widths. ## Usage ```tsx import { Bubble, BubbleContent, BubbleGroup, BubbleReactions } from 'wss3-forge' ``` - Choose start or end relative to the reading direction. Group consecutive messages from one sender with BubbleGroup. - Keep conversation labels and live announcements on the thread. Give static reactions a descriptive label and interactive reactions a named button. - Allow space above or below a message for its overlapping reactions. Include error information in the message text when using the destructive variant. - Use ChatBox when the conversation needs a composer, timestamps and delivery status. ```tsx Ready for review. ``` ## Runnable examples ### Review conversation ```tsx import { Eye16Regular, Heart16Regular, ThumbLike16Regular } from '@fluentui/react-icons' import { Bubble, BubbleContent, BubbleGroup, BubbleReactions, VStack } from 'wss3-forge' function ReviewThread() { return Is the draft ready for review? Yes, the new preview is ready. I grouped the comments by section so you can review them together. Thanks, I’ll take a look. Let me know if you want to walk through the changes. +2 } export default function Example() { return () } ``` ### Variants ```tsx import { type ReactNode } from 'react' import { Bubble, BubbleContent, VStack } from 'wss3-forge' function Thread({ children }: { children: ReactNode }) { return {children} } export default function Example() { return ( How did the first proof look? The type looks good. Is the crop final? Yes. Do you have the new cover? I have the blue one. Is that right? Use the green one. Can you send a copy? The upload failed. I’ll try again. ) } ``` ### Alignment and grouping ```tsx import { Bubble, BubbleContent, BubbleGroup, VStack } from 'wss3-forge' export default function Example() { return ( When is the review? Tomorrow morning. I’ll send the invite. ) } ``` ### Link ```tsx import { useState, type ReactNode } from 'react' import { Bubble, BubbleContent, Select, VStack } from 'wss3-forge' function Thread({ children }: { children: ReactNode }) { return {children} } function LinkExample() { const variants = ['default', 'muted', 'secondary', 'outline', 'tinted', 'destructive'] as const const [variant, setVariant] = useState<(typeof variants)[number]>('default') return