> ## Documentation Index
> Fetch the complete documentation index at: https://velt.dev/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Text Comment Tool Wireframes

> Wireframe components for building custom Text Comment Tool interfaces with maximum flexibility.

> [!NOTE]
>
> We recommend that you familiarize yourselves with [UI Customization Concepts](https://velt.dev/docs/ui-customization/overview.md) before attempting to modify any components.

## VeltTextCommentToolWireframe

![](https://mintcdn.com/velt/y_bUi9B-cnWLxN8L/images/customization/comments/text-comment-tool/comment-text-tool.png?fit=max\&auto=format\&n=y_bUi9B-cnWLxN8L\&q=85\&s=4a6e587f8e05a16938ec8cf5c978cf9f)

> [tab] React / Next.js
>
> ```jsx theme={null}
> <VeltWireframe>
>     <VeltTextCommentToolWireframe>
>         {/* Your custom element */}
>     </VeltTextCommentToolWireframe>
> </VeltWireframe>
> ```

> [tab] Other Frameworks
>
> ```html theme={null}
> <velt-wireframe style="display:none;">
>     <velt-text-comment-tool-wireframe>
>         <!-- Your custom element -->
>     </velt-text-comment-tool-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`

> [tab] React / Next.js
>
> ```jsx theme={null}
> <VeltComments shadowDom={false} textCommentToolShadowDom={false} />
> ```

> [tab] Other Frameworks
>
> ```jsx theme={null}
> <velt-comments shadow-dom="false" text-comment-tool-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`

Below are the examples to enable Dark Mode for text comment tool.

> [tab] React / Next.js
>
> **Using Props:**
>
> ```js theme={null}
> <VeltComments textCommentToolDarkMode={true} />
> ```
>
> **Using API:**
>
> ```jsx theme={null}
> const commentElement = client.getCommentElement();
> commentElement.enableDarkMode();
> commentElement.disableDarkMode();
> ```

> [tab] Other Frameworks
>
> **Using Props:**
>
> ```js theme={null}
> <velt-comments text-comment-tool-dark-mode="true"></velt-comments>
> ```
>
> **Using API:**
>
> ```jsx theme={null}
> const commentElement = Velt.getCommentElement();
> commentElement.enableDarkMode();
> commentElement.disableDarkMode();
> ```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.