# XWUIFeedCommentThread

A full nested comment thread for a post-detail drill-down or a TikTok/IG slide-up comment sheet: a header showing the comment count and a Top/Newest sort dropdown, followed by a recursively rendered list of XWUIFeedComment instances where each entry's `replies` are indented one level deeper. Pass `data.comments` (each with `id`, `author`, `text`, `time`, `likeCount`, optional `pinned`/`likedByMe`, and nested `replies`), optional `data.totalCount` and `data.sort`; control the sort UI with `conf_comp.showSort` and cap reply nesting depth with `conf_comp.maxIndent` (default 3). Like, reply, and sort interactions surface through `onLikeToggle`, `onReplyClick`, and `onSortChange`.

## Basic Usage

A thread with a pinned, verified top comment that has a nested reply, plus a second top-level comment, headed by a "23 comments" count.

```example
file: examples/BasicUsage.ts
html: examples/BasicUsage.html
title: Basic Usage
description: A 23-comment thread with a pinned verified comment, one nested reply, and a second root comment.
```

## Deeply Nested Replies

A four-level conversation showing how nested `replies` indent one step deeper at each level up to `conf_comp.maxIndent`.

```example
file: examples/DeepNesting.ts
html: examples/DeepNesting.html
title: Deeply Nested Replies
description: A pinned comment with a three-level reply chain plus a second root comment, headed by a 47-comment count.
```

## Newest-First Without Sort Control

A freshly posted thread set to newest sort with the sort dropdown suppressed.

```example
file: examples/NewestNoSort.ts
html: examples/NewestNoSort.html
title: Newest-First Without Sort Control
description: A newest-first thread with conf_comp.showSort disabled so the Top/Newest dropdown is hidden.
```

```api
```
