Components

Chat Bubble

Chat bubbles are ideal for organizing conversations in messaging apps, chats, social media platforms, and similar spaces.

Basic example

Chat receiver and chat sender

Assign the `chat-receiver` class to the receiver’s chat bubble and the `chat-sender` class to the sender’s chat bubble.

Just booked tickets for our vacation!
Awesome! I can't wait!

Illustration

Chat with avatar

Apply the `chat-avatar` class to show the avatar of either the sender or the receiver.

avatar
I finally finished the marathon!
avatar
Wow, that's incredible! I'm so proud of you!

Chat with header

Apply the `chat-header` class to incorporate a header into the chat bubble.

Obi-Wan Kenobi
I aced my final exams!
Anakin
Fantastic news! You worked so hard for it!

Chat with footer

Apply the `chat-footer` class to incorporate a footer into the chat bubble.

Just finished my first painting!
That’s amazing! I’d love to see it!

Chat with avatar, header and footer

Here's an example of a chat bubble that includes an avatar, header, and footer.

avatar
Obi-Wan Kenobi
I started learning guitar today!
avatar
Anakin
That's awesome! You're going to be great at it!

Chat with image

This is an example of a chat bubble featuring an image.

Check out my new watch! 🤩

Chat with image gallery

The following example demonstrates a chat bubble containing multiple images sent or received.

Places on my bucket list. 🤩
Lake Image

Chat with file attachment

Here's an example of a chat bubble with a file attachment.

Semji Design documentation 📁

documentation.pdf

12 Pages 18 MB PDF

Class referenceThe component, style, color, state, size and modifier classes available for this component.
ClassTypeDescription
chatcomponentThe class for the chat container which contains the chat bubbles.
chat-bubblepartFor the content of chat.
chat-avatarpartFor display avatar of the sender or receiver.
chat-headerpartFor the header of the chat bubble.
chat-footerpartFor the footer of the chat bubble.
chat-receivermodifierFor the chat bubble of the receiver.
chat-sendermodifierFor the chat bubble of the sender.