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

# Comment Pin Primitives

> Primitive-based components for building custom Comment Pin interfaces with maximum flexibility.

> [!TIP]
>
> Explore primitives interactively in our [Storybook](https://storybook.velt.dev/).

> [!NOTE]
>
> Comment Pin primitives can be used standalone: pass `annotationId` (React) or `annotation-id` (HTML) to load annotation data directly without a parent root component.

### VeltCommentPinNumber

Number badge displayed on the comment pin.

> [tab] React / Next.js
>
> ```jsx theme={null}
> <VeltCommentPinNumber annotationId="abc123" />
> ```
>
> **Props:** Common inputs only (see [Common Inputs](#common-inputs) section).

> [tab] Other Frameworks
>
> ```html theme={null}
> <velt-comment-pin-number annotation-id="abc123"></velt-comment-pin-number>
> ```
>
> **Attributes:** Common attributes only (see [Common Inputs](#common-inputs) section).

***

### VeltCommentPinIndex

Index label displayed on the comment pin.

> [tab] React / Next.js
>
> ```jsx theme={null}
> <VeltCommentPinIndex annotationId="abc123" />
> ```
>
> **Props:** Common inputs only (see [Common Inputs](#common-inputs) section).

> [tab] Other Frameworks
>
> ```html theme={null}
> <velt-comment-pin-index annotation-id="abc123"></velt-comment-pin-index>
> ```
>
> **Attributes:** Common attributes only (see [Common Inputs](#common-inputs) section).

***

### VeltCommentPinTriangle

Triangle pointer element on the comment pin.

> [tab] React / Next.js
>
> ```jsx theme={null}
> <VeltCommentPinTriangle annotationId="abc123" />
> ```
>
> **Props:** Common inputs only (see [Common Inputs](#common-inputs) section).

> [tab] Other Frameworks
>
> ```html theme={null}
> <velt-comment-pin-triangle annotation-id="abc123"></velt-comment-pin-triangle>
> ```
>
> **Attributes:** Common attributes only (see [Common Inputs](#common-inputs) section).

***

### VeltCommentPinPrivateCommentIndicator

Indicator shown on the pin when the comment is private.

> [tab] React / Next.js
>
> ```jsx theme={null}
> <VeltCommentPinPrivateCommentIndicator annotationId="abc123" />
> ```
>
> **Props:** Common inputs only (see [Common Inputs](#common-inputs) section).

> [tab] Other Frameworks
>
> ```html theme={null}
> <velt-comment-pin-private-comment-indicator annotation-id="abc123"></velt-comment-pin-private-comment-indicator>
> ```
>
> **Attributes:** Common attributes only (see [Common Inputs](#common-inputs) section).

***

### VeltCommentPinGhostCommentIndicator

Indicator shown on the pin when the comment is a ghost comment.

> [tab] React / Next.js
>
> ```jsx theme={null}
> <VeltCommentPinGhostCommentIndicator annotationId="abc123" />
> ```
>
> **Props:** Common inputs only (see [Common Inputs](#common-inputs) section).

> [tab] Other Frameworks
>
> ```html theme={null}
> <velt-comment-pin-ghost-comment-indicator annotation-id="abc123"></velt-comment-pin-ghost-comment-indicator>
> ```
>
> **Attributes:** Common attributes only (see [Common Inputs](#common-inputs) section).

***

### VeltCommentPinUnreadCommentIndicator

Indicator shown on the pin when the comment has unread replies.

> [tab] React / Next.js
>
> ```jsx theme={null}
> <VeltCommentPinUnreadCommentIndicator annotationId="abc123" />
> ```
>
> **Props:** Common inputs only (see [Common Inputs](#common-inputs) section).

> [tab] Other Frameworks
>
> ```html theme={null}
> <velt-comment-pin-unread-comment-indicator annotation-id="abc123"></velt-comment-pin-unread-comment-indicator>
> ```
>
> **Attributes:** Common attributes only (see [Common Inputs](#common-inputs) section).


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