Bubble: Reactions
<BubbleReactions /> overlaps the bubble edge and reserves its own space, so the next row needs no extra gap. Give a static row role="img" and a label, or use buttons for interactive reactions.
This adds the example as components/examples/bubble/reactions.tsx, together with the Bubble component and the HextaUI theme tokens it needs.
pnpm dlx shadcn@latest add https://hextaui.com/r/bubble-reactions.jsonTo add only the component, follow the Bubble installation.
Props in this example
The Bubble props this example sets, from the API reference.
| Prop | Type | Default |
|---|---|---|
variant | "default" | "secondary" | "muted" | "tinted" | "outline" | "ghost" | "destructive" | "default" |
align | "start" | "end" | "start" |
| Prop | Type | Default |
|---|---|---|
side | "top" | "bottom" | "bottom" |
align | "start" | "end" | "end" |
Every prop is in the Bubble API reference.
See them all, with keyboard support and accessibility notes, on the Bubble page.
- AttachmentFile and image cards for uploads, with progress, states, actions, a full-card trigger and names that keep their extension.
- MarkerQuiet notes between content, like date dividers and system events, with sticky dates and times that read as Today or Yesterday.
- MessageA chat message row with an avatar, name, bubbles and status, where new messages rise in from the sender's side.
- Message scrollerA chat scroll area that follows new messages, keeps your place while you read back, and counts what you missed on the jump button.