

Every state


default


typing


sending


failed


hover


focus


group


dates
Props
| Prop | Type | Default | What it does |
|---|---|---|---|
| label | string | "Conversation with Sanne Visser" | Accessible name of the conversation. |
| me | string | "joris" | Your id: messages from this person are yours. |
| messages | CommentChatMessageItem[] | [ { id: "m1", from: sanne, at: "2026-11-26T16:52:00Z", text: "The Leeds parcel came back with a torn label. I re-prin… | Oldest first. |
| typing | CommentChatMessagePerson | null | – | Who is typing now. Null: no one. |
| now | string | – | ISO date-time that counts as now, for "Today" and "Yesterday" on the day dividers. Leave out to show dates. |
| locale | string | "en-GB" | Locale for numbers and dates. |
| timeZone | string | "Europe/Amsterdam" | IANA time zone the times are in. |
| groupMinutes | number | 5 | Messages from one person closer together than this many minutes form one group. |
| labels | { you: string today: string yesterday: string status: Record<CommentChatMessageStatus, string> retry: string typing: string } | { you: "You", today: "Today", yesterday: "Yesterday", status: { sending: "Sending", sent: "Sent", delivered: "Deliver… | Labels. |
| onRetry | (id: string) => void | – | Called with a failed message's id when Retry is pressed. |
| className | string | – | Extra classes on the outer element. |
More comments
All 6comment-01 is in UI ProGet UI Pro, €199


