Comment
View in FigmaDisplays comment threads with author info, timestamps, and a reply input box.
Layout & StructureImport
import { Comment, CommentBox, CommentThread } from "@/components/ui"API
| Prop | Type | Default | Description |
|---|---|---|---|
| author | string | — | Comment author name. |
| avatar | ReactNode | — | Author avatar element. |
| content | string | — | Comment body text. |
| timestamp | string | — | Time of the comment. |
| resolved | boolean | — | Dims and strikes through the comment. |
| actions | ReactNode | — | Action buttons (reply, edit, etc.). |