

Every state


default


hover


focus


expanded


collapsed


nested
Props
| Prop | Type | Default | What it does |
|---|---|---|---|
| title | string | null | "Comments" | Heading above the thread. Null: none (then `label` names the list). |
| label | string | "Comments" | Accessible name of the thread when there is no title. |
| comments | CommentThreadComment[] | [ { id: "c1", author: { name: "Maren Vos", tag: "Owner" }, at: "2026-11-27T08:10:00Z", body: "Kiln 2 is back from rep… | Comments. |
| collapsed | string[] | ["c4"] | Ids of comments whose replies start folded. |
| now | string | – | ISO date-time that counts as now, so relative times are fixed (demos, tests). Leave out to use the visitor's clock. |
| locale | string | "en-GB" | Locale for numbers and dates. |
| timeZone | string | "Europe/Amsterdam" | Time zone of the full dates. |
| replyLabel | string | null | "Reply" | Label of the reply action. Null: no reply action. |
| onReply | (id: string) => void | – | Called with the comment's id when Reply is pressed, so you can open your composer under it. |
| repliesLabel | (count: number) => string | (n) => (n === 1 ? "1 reply" : `${n} replies`) | "3 replies": the count on the fold button. |
| showLabel | string | "Show" | Show label. |
| hideLabel | string | "Hide" | Hide label. |
| className | string | – | Extra classes on the outer element. |


