Skip to main content

Layout & Structure

Rearrange, add, or remove UI elements directly in the source files.

Adding Elements

Add Custom Header

Add a Banner Between Form and Feed


Removing Elements

Remove Vote Buttons

Remove Reply Functionality

Remove Moderation Options

Delete or comment out the action menu trigger in single-comment.tsx:

Rearranging Elements

Move Vote Buttons Above Comment Body

Move Sort Controls

Move <SortByButton /> to the top of the section instead of inline with the feed.

Modifying Spacing

Inline Styles:
Tailwind:

Component Hierarchy

Understanding the component tree helps you know which file to edit: Threaded Comments:
Social Comments:

Next Steps

Adding Features

Add custom functionality

Colors & Theming

Customize colors

Advanced

Advanced customization techniques

File Structure

Threaded comments file organization