Menu

Comment Thread

A polished, threaded comment system with nested replies, user avatars, timestamps, and interactive actions. Supports real-time-style updates with smooth entry animations.

Preview

Live interactive preview.

Installation

Add this component to your project using the CLI:

terminal
npx -y vui-registry-cli-v1@latest add comment-thread

Source Code

comment-thread.tsx
For solo buildersMost Popular

Component Pass

Access high-fidelity, production-grade components with a premium license. Meticulously crafted for performance, a11y, and polish.

1-Year

Rs. 7999

component updates

Lifetime

Best
Rs. 14999

one-time access

  • Access to all premium components
  • Production-ready source code
  • Commercial license for one developer
Get Premium

Dependencies

  • framer-motion: latest
  • lucide-react: latest

Props

Component property reference.

NameTypeDefaultDescription
commentsArray<CommentData>[]Array of comment objects with nested replies.
onReply(parentId: string, text: string) => void-Callback when a reply is submitted.
classNamestring''Additional CSS classes.
Context Worth Keeping In Orbit

Most components here are inspired by outstanding libraries and creators in the ecosystem. I don’t claim to be the original author — this is my space for learning, rebuilding, and understanding great work at a deeper level.

I’m still a student of the craft, constantly studying the best and translating what I learn through my own perspective. Every piece reflects curiosity, respect for the community, and small creative touches that feel true to me.

I’ve done my best to credit inspirations properly. If anything is missing or inaccurate, I truly appreciate a message so it can be corrected with care.