Comment thread

Core

Threaded comments with replies, reactions, mentions, inline edit, and resolve.

pnpm dlx shadcn@latest add https://wui.alann.works/r/comment-thread.json
0 comments

No comments yet. Start the conversation below.

API Reference

PropTypeDefault
commentsThreadComment[]—
defaultCommentsThreadComment[]—
onCommentsChange(comments: ThreadComment[], event: CommentThreadEvent) => void—
currentUser*CommentAuthorrequired
peopleCommentAuthor[]—
resolvedboolean—
defaultResolvedboolean—
onResolvedChange(resolved: boolean) => void—
titleReactNode—
reactionsstring[]—
placeholderstring—
maxDepthnumber—
nowLabelstring—
labelsCommentThreadLabels—
classNamestring—
Categories
data
Dependencies
lucide-reactmotion