Bubble
A chat bubble container with variants for user and assistant message styling.
A chat bubble container with variants for user and assistant message styling and reactions.
tsx
import { Bubble } from "@celestia-project/ui/primitive/bubble"
<Bubble variant="user">Hello, how can I help you today?</Bubble><Bubble variant="assistant">I can assist with component documentation.</Bubble>Props
| Prop | Type | Default | Description |
|---|---|---|---|
variant | "user" | "assistant" | "system" | "user" | Styling variant for sender role |
className | string | undefined | Custom CSS class overrides |