Velocity X Components

Content & Dashboard

Comment Thread Item

Single comment with avatar, author, date and body that recursively renders nested replies up to a capped indent depth.

Subscription Included with the Velocity Components subscription.
bash
$ velocityx add comment-thread-item

Built for astro.

Full docs for Comment Thread Item →

Needs a licence key — subscribe here, then velocityx loginonce.

astro v1.0.0
Comment Thread Item
E
Elijah 16 Oct 2026, 5:03 am

This is exactly the pattern we needed for the fork-scrub step — nice one.

AW
Aiden Wood 16 Oct 2026, 5:03 am

Cheers — next up is wiring it into the CLI checklist.

Props

NameTypeRequiredDefaultDescription
commentCommentNo{ id: 'c1', authorName: 'Elijah', date: new Date(), body: 'This is exactly the pattern we needed for the fork-scrub step — nice one.', replies: [], }
localestringNo'en-AU'
dateFormatter(date: Date) => stringNo
depthnumberNo0
classNamestringNo''

File this creates

The CLI writes this path into your project, relative to its root — nothing else moves.

text
components/velocity/comment-thread-item/CommentThreadItem.astro

Using the Comment Thread Item component

Install it with velocityx add comment-thread-item. The CLI writes the source straight into your project — no runtime dependency, no registry lock-in, and it themes itself from the same primary-*/accent-* scale as the rest of the library.

More from Content & Dashboard.