Skip to main content
Explore primitives interactively in our Storybook.
Sidebar Button primitives use the shared default context, so standalone usage renders real comment counts and unread indicators without a parent root component.

VeltSidebarButtonIcon

Icon displayed within the sidebar button.
<VeltSidebarButtonIcon annotationId="abc123" />
Props: Common inputs only (see Common Inputs section).

VeltSidebarButtonCommentsCount

Comments count displayed within the sidebar button.
<VeltSidebarButtonCommentsCount annotationId="abc123" />
Props: Common inputs only (see Common Inputs section).

VeltSidebarButtonUnreadIcon

Unread indicator icon displayed within the sidebar button.
<VeltSidebarButtonUnreadIcon annotationId="abc123" />
Props: Common inputs only (see Common Inputs section).