Skip to content
Comment with replies, light
Light
Comment with replies, dark
Dark

Every state

  • Comment with replies, default, light
    Comment with replies, default, dark

    default

  • Comment with replies, hover, light
    Comment with replies, hover, dark

    hover

  • Comment with replies, focus, light
    Comment with replies, focus, dark

    focus

  • Comment with replies, expanded, light
    Comment with replies, expanded, dark

    expanded

  • Comment with replies, collapsed, light
    Comment with replies, collapsed, dark

    collapsed

  • Comment with replies, nested, light
    Comment with replies, nested, dark

    nested

Props

PropTypeDefaultWhat it does
titlestring | null"Comments"Heading above the thread. Null: none (then `label` names the list).
labelstring"Comments"Accessible name of the thread when there is no title.
commentsCommentThreadComment[][ { id: "c1", author: { name: "Maren Vos", tag: "Owner" }, at: "2026-11-27T08:10:00Z", body: "Kiln 2 is back from rep…Comments.
collapsedstring[]["c4"]Ids of comments whose replies start folded.
nowstring–ISO date-time that counts as now, so relative times are fixed (demos, tests). Leave out to use the visitor's clock.
localestring"en-GB"Locale for numbers and dates.
timeZonestring"Europe/Amsterdam"Time zone of the full dates.
replyLabelstring | 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.
showLabelstring"Show"Show label.
hideLabelstring"Hide"Hide label.
classNamestring–Extra classes on the outer element.

More comments

All 6

Preview

Open the page
In UI Pro: get it, €199 once

With every block and theme. 400+ buyers since 2020. Plans