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

# Comment Bubble Wireframes

> Wireframe components for building custom Comment Bubble 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>

## VeltCommentBubbleWireframe

<img src="https://mintcdn.com/velt/2O8vk8YlVD4Kq-ni/images/customization/comments/comment-bubble/comment-bubble-overview.png?fit=max&auto=format&n=2O8vk8YlVD4Kq-ni&q=85&s=066b757ac0fda97b739371e311558209" alt="" width="1280" height="476" data-path="images/customization/comments/comment-bubble/comment-bubble-overview.png" />

<Tabs>
  <Tab title="React / Next.js">
    ```jsx theme={null}
    <VeltWireframe>
        <VeltCommentBubbleWireframe>
            <VeltCommentBubbleWireframe.CommentsCount />
            <VeltCommentBubbleWireframe.Avatar />
            <VeltCommentBubbleWireframe.UnreadIcon />
        </VeltCommentBubbleWireframe>
    </VeltWireframe>
    ```
  </Tab>

  <Tab title="Other Frameworks">
    ```html theme={null}
    <velt-wireframe style="display:none;">
        <velt-comment-bubble-wireframe>
            <velt-comment-bubble-comments-count-wireframe></velt-comment-bubble-comments-count-wireframe>
            <velt-comment-bubble-avatar-wireframe></velt-comment-bubble-avatar-wireframe>
            <velt-comment-bubble-unread-icon-wireframe></velt-comment-bubble-unread-icon-wireframe>
        </velt-comment-bubble-wireframe>
    </velt-wireframe>
    ```
  </Tab>
</Tabs>

## CommentsCount

<img src="https://mintcdn.com/velt/2O8vk8YlVD4Kq-ni/images/customization/comments/comment-bubble/comment-bubble-comments-count.png?fit=max&auto=format&n=2O8vk8YlVD4Kq-ni&q=85&s=a42b48adb54b52310a3b6ac6518c9e36" alt="" width="1280" height="476" data-path="images/customization/comments/comment-bubble/comment-bubble-comments-count.png" />

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

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

## Avatar

<img src="https://mintcdn.com/velt/2O8vk8YlVD4Kq-ni/images/customization/comments/comment-bubble/comment-bubble-avatar.png?fit=max&auto=format&n=2O8vk8YlVD4Kq-ni&q=85&s=4776191c0b4ae720319b21e16b175510" alt="" width="1280" height="476" data-path="images/customization/comments/comment-bubble/comment-bubble-avatar.png" />

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

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

## UnreadIcon

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

  <Tab title="Other Frameworks">
    ```html theme={null}
    <velt-wireframe style="display:none;">
        <velt-comment-bubble-unread-icon-wireframe></velt-comment-bubble-unread-icon-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}
    <VeltCommentBubble shadowDom={false} />
    ```
  </Tab>

  <Tab title="Other Frameworks">
    ```jsx theme={null}
    <velt-comment-bubble shadow-dom="false"></velt-comment-bubble>
    ```
  </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}
    <VeltCommentBubble darkMode={true} />
    ```

    **Using API:**

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

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

    ```HTML theme={null}
    <velt-comment-bubble dark-mode="true"></velt-comment-bubble>
    ```

    **Using API:**

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

### Open Dialog on Click

Control whether the comment dialog opens when the bubble is clicked.

Default: `true`

<Tabs>
  <Tab title="React / Next.js">
    ```jsx theme={null}
    <VeltCommentBubble openDialog={false} />
    ```
  </Tab>

  <Tab title="Other Frameworks">
    ```html theme={null}
    <velt-comment-bubble open-dialog="false"></velt-comment-bubble>
    ```
  </Tab>
</Tabs>
