GitHub

Chat

Chat bubbles for AI assistant and messaging interfaces. Supports user, assistant, and system messages with avatars, typing indicators, and input areas.

Basic Messages

Preview

How do I reset my password?

Go to Settings → Security → Change Password. You'll need to enter your current password first.

Thanks, that worked!

With Avatars

Preview
JD

Can you help me with the inventory module?

AI

Of course! What would you like to know about the inventory module?

Typing Indicator

Preview

What's the status of my order?

AI

Rich Content

Preview

How do I create a new product?

Here are the steps to create a new product:

  1. Go to Inventory → Products
  2. Click the + New Product button
  3. Fill in name, SKU, and price
  4. Click Save

The product will be available immediately in your catalog.

System Message

Preview
Session started — Feb 26, 2026
AI

Hello! How can I help you today?

Chat with Input Area

Preview
AI

Welcome! I'm your assistant. Ask me anything about your store.

Show me today's sales summary

AI

Here's your sales summary for today:

  • Total revenue: €2,450.00
  • Orders: 34
  • Average order: €72.06

Classes Reference

Class Description
.chat-messageMessage container (flex, max-width 85%)
.chat-userUser message alignment (right, reversed)
.chat-assistantAssistant message alignment (left)
.chat-systemSystem message (full width)
.chat-bubbleMessage bubble with padding and border-radius
.chat-avatarOptional avatar circle (32px)
.chat-typingTyping indicator container
.chat-typing-dotAnimated dot (3 required)
.chat-input-areaInput area with border-top