Chat

A conversation log with message bubbles.

AS
Assistant · 09:41
Hi! How can I help you today?
YO
You · 09:42
Build me a UI library.
AS
Assistant · 09:42
On it — here's a starting point…

Typing

YO
You · 11:20
Can you summarize the meeting notes?
AS
Assistant

With avatars

Bot · 14:01
Welcome back!
Sofia · 14:02
Thanks 👋

API reference

[buiChat]

Inputs

PropTypeDefaultDescription
ariaLabelstring'Conversation'Accessible label announced for the conversation log region.

bui-chat-message

Inputs

PropTypeDefaultDescription
rolestring'assistant'Author role; `'user'` aligns the bubble to the end with primary styling, else assistant-styled.
namestring''Display name shown above the bubble; also seeds the fallback initials avatar.
timestring''Optional timestamp text shown beside the name.
avatarstring''Avatar image URL; when empty, initials (or an emoji) are shown instead.
typingbooleanfalseWhen true, shows an animated typing indicator instead of the message content.

Every ng-blatui component also accepts a class input to merge extra Tailwind classes onto the host.