Skip to content
Review comment, light
Light
Review comment, dark
Dark

Every state

  • Review comment, default, light
    Review comment, default, dark

    default

  • Review comment, hover, light
    Review comment, hover, dark

    hover

  • Review comment, focus, light
    Review comment, focus, dark

    focus

  • Review comment, reply, light
    Review comment, reply, dark

    reply

  • Review comment, resolved, light
    Review comment, resolved, dark

    resolved

  • Review comment, resolved-open, light
    Review comment, resolved-open, dark

    resolved-open

  • Review comment, text, light
    Review comment, text, dark

    text

Props

PropTypeDefaultWhat it does
idstring"review-rates-42"Id of the card; the parts hang off it.
pathstring"src/shipping/rates.ts"The file or document path above the lines.
kind"code" | "text""code""code": mono lines that keep their spacing. "text": lines of a document in the body face.
linesCommentReviewLine[][ { number: 40, text: " const zone = zoneFor(order.country)" }, { number: 41, text: " const rate = RATES[zone] ?? RAT…The commented line with a little context around it.
linenumber42Number of the line the comment is on.
commentsCommentReviewEntry[][ { id: "r1", author: { name: "Aisha Rahman", photo: photo("aisha") }, at: "2026-11-27T09:12:00Z", body: "UK orders h…Comments.
meCommentReviewPerson{ name: "Joris Bakker", photo: photo("joris") }You: the author of replies and the one who resolves.
resolved{ by: string; at: string } | nullnullResolved at the start, and by whom. Null: open.
onResolve(resolved: boolean) => void–Called with true when resolved and false when reopened.
onReply(text: string) => void–Called with the text of a new reply.
localestring"en-GB"Locale for numbers and dates.
timeZonestring"Europe/Amsterdam"IANA time zone the times are in.
labels{ line: string commented: string added: string removed: string reply: string replyPlaceholder: string resolve: string reopen: string resolvedBy: string show: string hide: string resolvedStatus: string reopenedStatus: string }{ line: "Line", commented: "commented line", added: "added", removed: "removed", reply: "Reply", replyPlaceholder: "R…Labels.
classNamestring–Extra classes on the outer element.

More comments

All 6
comment-05 is in UI ProGet UI Pro, €199

Preview

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

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