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

# Text Comment Toolbar Wireframes

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

<Note>
  We recommend that you familiarize yourselves with [UI Customization Concepts](/ui-customization/overview) before attempting to modify any components.
</Note>

## VeltTextCommentToolbarWireframe

<img src="https://mintcdn.com/velt-raghul-agent-docs/vHdpvC1890cm-3bX/images/customization/comments/text-comment-toolbar/comment-text-toolbar-overview.png?fit=max&auto=format&n=vHdpvC1890cm-3bX&q=85&s=f9f803642279154b0c59b248df9c62be" alt="" width="1280" height="370" data-path="images/customization/comments/text-comment-toolbar/comment-text-toolbar-overview.png" />

<Tabs>
  <Tab title="React / Next.js">
    ```jsx theme={null}
    <VeltWireframe>
        <VeltTextCommentToolbarWireframe>
            <VeltTextCommentToolbarWireframe.CommentAnnotation />
            <VeltTextCommentToolbarWireframe.Divider />
            <VeltTextCommentToolbarWireframe.Copywriter />
            <VeltTextCommentToolbarWireframe.Generic />
        </VeltTextCommentToolbarWireframe>
    </VeltWireframe>
    ```
  </Tab>

  <Tab title="Other Frameworks">
    ```html theme={null}
    <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>
    ```
  </Tab>
</Tabs>

## CommentAnnotation

<img src="https://mintcdn.com/velt-raghul-agent-docs/vHdpvC1890cm-3bX/images/customization/comments/text-comment-toolbar/comment-text-toolbar-comment-tool.png?fit=max&auto=format&n=vHdpvC1890cm-3bX&q=85&s=4f035fa523aed52a612e2462400b1064" alt="" width="1280" height="370" data-path="images/customization/comments/text-comment-toolbar/comment-text-toolbar-comment-tool.png" />

<Tabs>
  <Tab title="React / Next.js">
    ```jsx theme={null}
    <VeltWireframe>
        <VeltTextCommentToolbarWireframe.CommentAnnotation />
    </VeltWireframe>
    ```
  </Tab>

  <Tab title="Other Frameworks">
    ```html theme={null}
    <velt-wireframe style="display:none;">
        <velt-text-comment-toolbar-comment-annotation-wireframe></velt-text-comment-toolbar-comment-annotation-wireframe>
    </velt-wireframe>
    ```
  </Tab>
</Tabs>

## Divider

<img src="https://mintcdn.com/velt-raghul-agent-docs/vHdpvC1890cm-3bX/images/customization/comments/text-comment-toolbar/comment-text-toolbar-divider.png?fit=max&auto=format&n=vHdpvC1890cm-3bX&q=85&s=f79895fd62e544b2fa817aa78d5a5694" alt="" width="1280" height="370" data-path="images/customization/comments/text-comment-toolbar/comment-text-toolbar-divider.png" />

<Tabs>
  <Tab title="React / Next.js">
    ```jsx theme={null}
    <VeltWireframe>
        <VeltTextCommentToolbarWireframe.Divider />
    </VeltWireframe>
    ```
  </Tab>

  <Tab title="Other Frameworks">
    ```html theme={null}
    <velt-wireframe style="display:none;">
        <velt-text-comment-toolbar-divider-wireframe></velt-text-comment-toolbar-divider-wireframe>
    </velt-wireframe>
    ```
  </Tab>
</Tabs>

## Copywriter

<img src="https://mintcdn.com/velt-raghul-agent-docs/vHdpvC1890cm-3bX/images/customization/comments/text-comment-toolbar/comment-text-toolbar-copywriter.png?fit=max&auto=format&n=vHdpvC1890cm-3bX&q=85&s=d10d17ce81e1d8a3fabeeaf916f5fad9" alt="" width="1280" height="370" data-path="images/customization/comments/text-comment-toolbar/comment-text-toolbar-copywriter.png" />

<Tabs>
  <Tab title="React / Next.js">
    ```jsx theme={null}
    <VeltWireframe>
        <VeltTextCommentToolbarWireframe.Copywriter />
    </VeltWireframe>
    ```
  </Tab>

  <Tab title="Other Frameworks">
    ```html theme={null}
    <velt-wireframe style="display:none;">
        <velt-text-comment-toolbar-copywriter-wireframe></velt-text-comment-toolbar-copywriter-wireframe>
    </velt-wireframe>
    ```
  </Tab>
</Tabs>

## Generic

<img src="https://mintcdn.com/velt-raghul-agent-docs/vHdpvC1890cm-3bX/images/customization/comments/text-comment-toolbar/comment-text-toolbar-generic.png?fit=max&auto=format&n=vHdpvC1890cm-3bX&q=85&s=bc2dbc0b448a01346bbef32ba4254018" alt="" width="1280" height="370" data-path="images/customization/comments/text-comment-toolbar/comment-text-toolbar-generic.png" />

<Tabs>
  <Tab title="React / Next.js">
    ```jsx theme={null}
    <VeltWireframe>
        <VeltTextCommentToolbarWireframe.Generic />
    </VeltWireframe>
    ```
  </Tab>

  <Tab title="Other Frameworks">
    ```html theme={null}
    <velt-wireframe style="display:none;">
        <velt-text-comment-toolbar-generic-wireframe></velt-text-comment-toolbar-generic-wireframe>
    </velt-wireframe>
    ```
  </Tab>
</Tabs>

## 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`

<Tabs>
  <Tab title="React / Next.js">
    ```jsx theme={null}
    <VeltComments shadowDom={false} textCommentToolbarShadowDom={false} />
    ```
  </Tab>

  <Tab title="Other Frameworks">
    ```jsx theme={null}
    <velt-comments shadow-dom="false" text-comment-toolbar-shadow-dom="false"></velt-comments>
    ```
  </Tab>
</Tabs>

### Dark Mode

By default, all components are in Light Mode, but there are several properties and methods to enable Dark Mode.

Default: `false`

<Tabs>
  <Tab title="React / Next.js">
    **Using Props:**

    ```js theme={null}
    <VeltComments textCommentToolbarDarkMode={true} />
    ```

    **Using API:**

    ```jsx theme={null}
    const commentElement = client.getCommentElement();
    commentElement.enableDarkMode();
    commentElement.disableDarkMode();
    ```
  </Tab>

  <Tab title="Other Frameworks">
    **Using Props:**

    ```js theme={null}
    <velt-comments text-comment-toolbar-dark-mode="true"></velt-comments>
    ```

    **Using API:**

    ```jsx theme={null}
    const commentElement = Velt.getCommentElement();
    commentElement.enableDarkMode();
    commentElement.disableDarkMode();
    ```
  </Tab>
</Tabs>
