Documentation Index
Fetch the complete documentation index at: https://docs.velt.dev/llms.txt
Use this file to discover all available pages before exploring further.
React / Next.js
Other Frameworks
<VeltWireframe>
<VeltTextCommentToolbarWireframe>
<VeltTextCommentToolbarWireframe.CommentAnnotation />
<VeltTextCommentToolbarWireframe.Divider />
<VeltTextCommentToolbarWireframe.Copywriter />
<VeltTextCommentToolbarWireframe.Generic />
</VeltTextCommentToolbarWireframe>
</VeltWireframe>
<velt-wireframe style="display:none;">
<velt-text-comment-toolbar-wireframe>
<velt-text-comment-toolbar-comment-annotation-wireframe></velt-text-comment-toolbar-comment-annotation-wireframe>
<velt-text-comment-toolbar-divider-wireframe></velt-text-comment-toolbar-divider-wireframe>
<velt-text-comment-toolbar-copywriter-wireframe></velt-text-comment-toolbar-copywriter-wireframe>
<velt-text-comment-toolbar-generic-wireframe></velt-text-comment-toolbar-generic-wireframe>
</velt-text-comment-toolbar-wireframe>
</velt-wireframe>
React / Next.js
Other Frameworks
<VeltWireframe>
<VeltTextCommentToolbarWireframe.CommentAnnotation />
</VeltWireframe>
<velt-wireframe style="display:none;">
<velt-text-comment-toolbar-comment-annotation-wireframe></velt-text-comment-toolbar-comment-annotation-wireframe>
</velt-wireframe>
Divider
React / Next.js
Other Frameworks
<VeltWireframe>
<VeltTextCommentToolbarWireframe.Divider />
</VeltWireframe>
<velt-wireframe style="display:none;">
<velt-text-comment-toolbar-divider-wireframe></velt-text-comment-toolbar-divider-wireframe>
</velt-wireframe>
Copywriter
React / Next.js
Other Frameworks
<VeltWireframe>
<VeltTextCommentToolbarWireframe.Copywriter />
</VeltWireframe>
<velt-wireframe style="display:none;">
<velt-text-comment-toolbar-copywriter-wireframe></velt-text-comment-toolbar-copywriter-wireframe>
</velt-wireframe>
Generic
React / Next.js
Other Frameworks
<VeltWireframe>
<VeltTextCommentToolbarWireframe.Generic />
</VeltWireframe>
<velt-wireframe style="display:none;">
<velt-text-comment-toolbar-generic-wireframe></velt-text-comment-toolbar-generic-wireframe>
</velt-wireframe>
Styling
Disable ShadowDOM
- By default, ShadowDOM is used to ensure that your app’s CSS does not interfere with the styling of the SDK components.
- Disable the shadow dom to apply your custom CSS to the component.
Default: true
React / Next.js
Other Frameworks
<VeltComments shadowDom={false} textCommentToolbarShadowDom={false} />
<velt-comments shadow-dom="false" text-comment-toolbar-shadow-dom="false"></velt-comments>
Dark Mode
By default, all components are in Light Mode, but there are several properties and methods to enable Dark Mode.
Default: false
React / Next.js
Other Frameworks
Using Props:<VeltComments textCommentToolbarDarkMode={true} />
Using API:const commentElement = client.getCommentElement();
commentElement.enableDarkMode();
commentElement.disableDarkMode();
Using Props:<velt-comments text-comment-toolbar-dark-mode="true"></velt-comments>
Using API:const commentElement = Velt.getCommentElement();
commentElement.enableDarkMode();
commentElement.disableDarkMode();