Components
Chat Thread
Thread
YO
You
10:41
Build me a pricing section with three plans.
GA
Gridline Agent
10:42
Done. I added Pricing 01 and kept its tablet and phone layouts.
Agent finished
YO
You
10:44
Add a monthly and yearly toggle.
GA
Gridline Agent
10:44
Added. Yearly shows the lower price and keeps the same card order.
Bubble styles
Default bubble
Muted bubble
Outline bubble
Default bubble
Muted bubble
Outline bubble
When to use
Use Chat Message to show a conversation between a person and an AI assistant, as a prompt and an answer. It is product proof: what the thread looks like in the app.
Pick the sender first, then the bubble. The user sits on the right and the assistant on the left. Muted suits long answers. Outline suits notes from tools or the system.
Put Chat Marker between messages to name a break, such as a day or an event like Agent finished. Keep messages short. For long output, link to the full page.
Variants
Assistant Default
Left. Surface/Hover fill, 1px Border/Subtle
The main reply bubble.
Assistant Muted
Left. Surface/Active fill, no border
Quiet replies and long answers.
Assistant Outline
Left. No fill, 1px Border/Default
Notes from tools or the system.
User Default
Right. Surface/Hover fill, 1px Border/Subtle
The person's prompt.
User Muted
Right. Surface/Active fill, no border
A follow-up or a quick reply.
User Outline
Right. No fill, 1px Border/Default
A draft or a pending message.
Props
message
String
The bubble text. The bubble fills 80% of the container and the text wraps inside it.
name, showName
String and boolean. Gridline Agent, on
The name above the bubble. Turn it off for a run of messages from one sender.
time, showTime
String and boolean. 10:42, on
A short time beside the name. You type it, nothing is calculated.
initials, showAvatar
String and boolean. GA, on
A round avatar with initials. Turn it off to hide it.
variant
Six options. Assistant Default
Sender and bubble style. See the Variants table.
label (Chat Marker)
String. Today
The text between the two lines, for example Agent finished.