Bubble

A chat message, from the user or an assistant, with room for an avatar, a header and a footer.

Anotomy

Structure of a bubble and how its parts are composed. These are the bubble's semantic parts, so they are also what the classNames and styles objects accept.
Bubble anotomy
NameDescription
1rootThe whole message row. placement puts it on the start or end side, and the avatar follows.
2avatarThe slot beside the message, filled by avatar. It renders only when avatar is set.
3bodyThe column that holds the header, the content and the footer, next to the avatar.
4headerThe line above the message, from header, for a name or a time. It renders only when header is set.
5contentThe message itself, from content. variant and shape style this part, and loading replaces what is inside it.
6footerThe row under the message, from footer, usually a set of actions. It renders only when footer is set.
7extraThe slot at the trailing edge of the message, from extra, for one small action. It renders only when extra is set.