Skip to content

Comment Thread

The Comment Thread element provides a threaded comments/discussion area. Users can post comments, reply to existing comments (up to configurable depth), edit or delete their own comments, and optionally like comments.


Adding a Comment Thread

  1. Open the Website Builder and select a page
  2. Find Comment Thread in the Input category of the Elements Panel
  3. Drag it onto your page
  4. Configure settings in the Floating Design Panel

Properties

General Tab

PropertyDescription
TitleHeading displayed above the comment thread
PlaceholderPlaceholder text for the comment input
Data SourceStatic (user-posted only) or From Element (pre-loaded comments)
Sort OrderNewest First or Oldest First
Author SourceLogged-in User (auto-fill from session) or Anonymous
Date FormatRelative (e.g. 2h ago) or Absolute (e.g. Mar 5, 2026)
Max Reply DepthNo Replies (0), 1 Level, or 2 Levels
Allow RepliesToggle nested reply functionality
Allow EditingAllow users to edit their own comments
Allow DeletingAllow users to delete their own comments
Show LikesDisplay a like button with count on each comment

Data Source (From Element)

When using data binding, map fields from a connected element:

FieldDescription
Source Element IDID of the element providing initial comments
Comments FieldField name containing the comments array

Color Tab

Customize the container background and border colors.

Dimensions Tab

Adjust padding, margin, border radius, and size.


Comment Features

  • Avatar: Each comment shows a colored circle with the author's initial
  • Timestamps: Displayed in relative or absolute format
  • Threading: Replies are indented with a left border
  • Edit/Delete: Only visible on the current user's own comments
  • Likes: Optional like counter on each comment

Data Storage

Comments are stored in the element's answer data as an array of objects. Each comment includes an ID, author name, text, timestamp, parent ID (for replies), edited flag, and like count.


Use Cases

  • Discussion Forum: Enable conversations on any page
  • Feedback Collection: Gather threaded user feedback
  • Q&A Section: Allow questions and nested answers
  • Review Comments: Collaborative review with nested replies

No-Code App Builder