Skip to main content

Adding Features

Extend components with custom behavior — confirmations, analytics, integrations, and more.

Add Confirmation Before Delete

Or use a custom modal by replacing the window.confirm with your modal component.

Add Character Counter to Comment Form


Add Analytics Tracking


Add Custom User Badges


Auto-Collapse Old Threads


The hooks expose callback props for user interactions. Wire them to your router:

Add Pinned Comment

Show a pinned comment above the feed:

Add “Load More” Button Instead of Infinite Scroll

In comments-feed.tsx, replace the infinite scroll observer with an explicit button:

Integrate with Error Tracking


Next Steps

Advanced

Advanced customization techniques

Colors & Theming

Customize colors and dark mode

Layout & Structure

Modify layout

File Structure

Threaded comments file organization