> ## Documentation Index
> Fetch the complete documentation index at: https://velt-mintlify-91561e57.mintlify.site/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-mintlify-91561e57/TSAG_5m0lX2zHvPn/images/customization/comments/comment-bubble/comment-bubble-overview.png?fit=max&auto=format&n=TSAG_5m0lX2zHvPn&q=85&s=b20581e84e01d385f50008d310150ec0" 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-mintlify-91561e57/TSAG_5m0lX2zHvPn/images/customization/comments/comment-bubble/comment-bubble-comments-count.png?fit=max&auto=format&n=TSAG_5m0lX2zHvPn&q=85&s=4250d5f5c63c970bd1817f4aba4b1289" 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-mintlify-91561e57/TSAG_5m0lX2zHvPn/images/customization/comments/comment-bubble/comment-bubble-avatar.png?fit=max&auto=format&n=TSAG_5m0lX2zHvPn&q=85&s=07103a407105c92ce99f7d6ce9774f46" 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>
