Bubble

Displays conversational content in a message bubble.

Hey there! what's up?
Want to see chat bubbles?
Sure. Hit me with your best demo.
Here is one!
👍🔥

Basic Usage

Hello there! What's up?

Variants

Default variant
Secondary variant
Muted variant
Tinted variant
Outline variant
Ghost variant
Destructive variant

Alignment

Start aligned
End aligned

Reactions

I don't need tests, I know my code works.
👍😮

Props

Property
Description
Type
Default

variant

The visual style of the bubble. 'default' | 'secondary' | 'muted' | 'tinted' | 'outline' | 'ghost' | 'destructive' 'default'

align

The inline alignment of the bubble. 'start' | 'end' 'start'

class

Additional CSS classes. string undefined

BubbleReactions Props

Property
Description
Type
Default

side

The side of the bubble to anchor the reactions. 'top' | 'bottom' 'bottom'

align

The inline alignment of the reactions. 'start' | 'end' 'end'

class

Additional CSS classes. string undefined