These reactions sit at the start of the lower edge.
Bubble
Bubble with accessible presentation and local state.
Conversation and grouping
Can you show me the RightUI conversation components?
Yes. Start with the message surface.
Group consecutive replies and keep reactions close to the message.
👍 🔥 👀 +2
Show me the variants.
Then show me the actions.
Seven variants
Default RightUI bubble
Secondary RightUI bubble
Muted supporting message
Tinted RightUI bubble
Outline RightUI bubble
Error: the local command could not open the requested file.
Ghost content spans the available width without a frame.
Markdown
Can you explain reusable components and Exact Contract?
RightUI components
Use public components for consistent behavior.
Keep keyboard focus visible.
Respect reduced motion.
Reuse the same tokens across the library.
contract
component Greeting
view
text "Hello from RightUI"
Links and buttons
How can I help you today?
Jump to reply feedback
Choose a reply.
Reactions and actions
👍 😮
These reactions sit above the message.
🎉 👏
The RightUI component sources are ready for review.
Mark as helpful
Copy message
Approve this local action?
Read receipt tooltip
Did you remove the stale route?
Yes, removed it from the registry.
Read on Jan 5, 2026 at 4:32 PM
Error details popover
Run the local command.
Failed to run the command.
Show more / show less
Here is the session brief.
Please check the spaces and lighting before our appointment.
Keep keyboard focus visible in the dialog, menu and drawer. Reuse the shared RightUI tokens…
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 Bubble, BubbleOptions, BubbleFrame, BubbleGroup, BubbleContent, BubbleButton, BubbleLink, BubbleReactions, BubbleAction, BubblePopoverAction from "@rightui/ui"
Usage
Import Bubble(id, body, align, variant, collapsible) for the legacy wrapper. Use BubbleOptions to also supply reactions, reduced, initialCollapsed and previewLength explicitly. Compose grouped content, links, buttons, reactions and popovers with the public Bubble parts; pass every required prop. Variants are default, secondary, muted, tinted, outline, destructive and ghost; primary remains a legacy alias. Use MarkdownDocument and parseMarkdown inside BubbleContent for Markdown.
API Reference
Properties from the component source. State lives in your component; actions receive the updated value.
BubbleGroup.id
string
BubbleGroup.label
string
BubbleContent.id
string
BubbleButton.id
string
BubbleButton.label
string
BubbleButton.align
string
BubbleButton.variant
string
BubbleButton.press
action
BubbleLink.id
string
BubbleLink.label
string
BubbleLink.href
string
BubbleLink.align
string
BubbleLink.variant
string
BubbleReactions.id
string
BubbleReactions.label
string
BubbleReactions.side
string
BubbleReactions.align
string
BubbleReactions.interactive
bool
BubbleAction.id
string
BubbleAction.label
string
BubbleAction.icon
string
BubbleAction.pressed
option<bool>
BubbleAction.press
action
BubblePopoverAction.id
string
BubblePopoverAction.label
string
BubblePopoverAction.reduced
bool
BubbleFrame.id
string
BubbleFrame.align
string
BubbleFrame.variant
string
Bubble.id
string
Bubble.body
string
Bubble.align
string
Bubble.variant
string
Bubble.collapsible
bool
BubbleOptions.id
string
BubbleOptions.body
string
BubbleOptions.align
string
BubbleOptions.variant
string
BubbleOptions.collapsible
bool
BubbleOptions.reactions
bool
BubbleOptions.reduced
bool
BubbleOptions.initialCollapsed
bool
BubbleOptions.previewLength
number