Bubble
Chat message bubbles with variants and reactions.
shadcn/ui · new-york-v4 · synced Aug 29, 2026shadcn/uinew-york-v4 · synced Aug 29, 2026
Installation
import { Bubble, BubbleContent, BubbleReactions, BubbleGroup } from "@aspyn-io/kit";Conversation
Align start for incoming messages and end for the current user; group consecutive bubbles.
Variants
Reactions
BubbleReactions anchors an emoji/quick-action row to the bubble edge.
Notes
- Bubble is just the message surface. For full chat rows with avatars, names, and timestamps, wrap bubbles in Message.
- Make a bubble interactive by passing asChild/render to BubbleContent (renders a button or anchor) — the accessible name comes from the bubble text.
- Reactions are decorative emoji: give BubbleReactions role="img" + aria-label so a screen reader announces the row once.