ChatMessage
A single chat transcript entry with baked-in entrance and layout motion. Right-aligned accent bubble for the user, left-aligned plain text for the assistant, with optional file attachments and a hover-revealed meta row.
Installation
Install ChatMessage from the Fluid Effect UI registry.
Conversation
What does “good design” actually mean? Everyone says it, no one defines it.
Wednesday 6:06 PM
Good design is mostly invisible — you only notice it when it's missing. It's less about how something looks and more about how effortlessly it lets you do what you came to do.
So function over form?
Wednesday 6:07 PM
Not quite. Form is part of function — something that feels good to use is, in a real sense, working better. The split between the two is mostly a myth.
That reframes it completely.
Wednesday 6:08 PM
Roles
Right-aligned accent bubble.
Left-aligned, no background.
Attachments

Can you use this as my new avatar?
Looks great — it'll crop cleanly into the circle.
Entrance motion
What does “good design” actually mean? Everyone says it, no one defines it.
Wednesday 6:06 PM
Good design is mostly invisible — you only notice it when it's missing. It's less about how something looks and more about how effortlessly it lets you do what you came to do.
So function over form?
Wednesday 6:07 PM
Not quite. Form is part of function — something that feels good to use is, in a real sense, working better. The split between the two is mostly a myth.
That reframes it completely.
Wednesday 6:08 PM
API Reference
Types come from the public API. A dash indicates no default is documented here.
ChatMessage props
Public source| Prop | Type | Default |
|---|---|---|
id | string | Required |
from | "user" | "assistant" | Required |
children | string | View.Content<Msg, R> | null | — |
time | string | View.Content<Msg, R> | null | — |
actions | View.Content<Msg, R> | null | — |
attachments | View.Children<Msg, R> | — |
animate | boolean | — |
className | string | — |
shape | ShapeVariant | 'rounded' |
size | SizeVariant | 'default' |
surface | number | 1 |