- React / Next.js
- Other Frameworks
Add Comments and Sidebar components
Add the
VeltComments and VeltCommentsSidebar components to the root of your app.Add Sidebar button and Comment Tool component
Add the Sidebar button to toggle the sidebar. Add the This is completely optional and you can toggle the sidebar in the comment dialog as well.
VeltCommentTool component to leave comments.V2 Setup
The V2 sidebar is a fully primitive-based implementation. Use it by either importingVeltCommentsSidebarV2 directly or passing version="2" on the existing VeltCommentsSidebar.
- React / Next.js
- Other Frameworks
Option A — Direct import:Option B — Version prop on existing component:
VeltCommentsSidebarV2Props.
For V2 wireframe customization, see Comment Sidebar V2 UI Customization.

