# Chat Bubble ## Example ```svelte

Hello there

General Kenobi

This is a really long message that should wrap around the chat bubble and not overflow

This is another really long message that should wrap around the chat bubble and not overflow

This is me sending you an image

``` ## Documentation ## Usage ```svelte

Hello there

General Kenobi

``` ## API Reference ### ChatBubble A chat message bubble with left/right alignment for conversations. | Prop | Type | Default | Description | |------|------|---------|-------------| | side | `'left' | 'right'` | `'left'` | Which side the bubble appears on. Left for received messages, right for sent. | | variant | `string` | `-` | The visual variant. Defaults to "primary" for left and "secondary" for right. | | size | `'sm' | 'md' | 'lg'` | `'md'` | The size of the chat bubble. | | children | `Snippet` | `-` | The message content. (required) | | class | `string` | `-` | Additional CSS classes to apply. | | ref | `HTMLSpanElement` | `-` | The underlying DOM element. (bindable) |