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
| Prop | Type | Default | Description |
|---|---|---|---|
ariaLabel | string | 'Conversation' | Accessible label announced for the conversation log region. |
bui-chat-message
Inputs
| Prop | Type | Default | Description |
|---|---|---|---|
role | string | 'assistant' | Author role; `'user'` aligns the bubble to the end with primary styling, else assistant-styled. |
name | string | '' | Display name shown above the bubble; also seeds the fallback initials avatar. |
time | string | '' | Optional timestamp text shown beside the name. |
avatar | string | '' | Avatar image URL; when empty, initials (or an emoji) are shown instead. |
typing | boolean | false | When 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.