- React / Next.js
- Other Frameworks
1
Import Comments Sidebar Components
Import the Comments Sidebar Components.
2
Add Comments and Sidebar components
Add the
VeltComments and VeltCommentsSidebar components to the root of your app.3
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.4
Test Integration
Test it out by opening the sidebar.You should be able to click the
All comments link in a comment dialog box on the bottom.
