Atelier UI

Search components…

Search components…

Comment Thread

Nested comment thread with replies, likes and inline reply forms; new comments appear instantly.

Edit in sandbox

Copy a prompt for your AI coding tool with the source, dependencies and usage

Props

CommentThreadProps

Also accepts all props of Omit<React.ComponentProps<"div">, "onChange">

PropTypeDefaultDescription
comments* requiredComment[]——
currentUserstring"You"—
onAdd(comment: Comment, parentId: string | null) => void——

Install

$ npx shadcn@latest add https://chromotion.dev/r/comment-thread.json

More like this