New to wireframes? Start with UI Customization Concepts and the Template Variables overview.
Overview
The Comment Sidebar Button is the standalone toolbar button that opens the Comment Sidebar, with built-in unread-count and total-count indicators. Variables below are available inside any<velt-sidebar-button-...-wireframe> tag via three forms:
This feature uses the flat-config access pattern — variables span three namespaces:
globalConfig.featureState.* (cross-document), componentConfig.<data|uiState>.* (per-instance), and parentLocalUIState.* (per-render). Always use the explicit path form.Component Config
Global Feature State
Per-instance Data
Per-instance UI State
Per-instance Local UI State
Type Reference
Types referenced by the variables above:Subcomponents
Each subcomponent below has its own wireframe tag.sidebar-button (root)
The trigger button customers place in their toolbar.
- Public element:
<velt-sidebar-button> - Wireframe tag:
<velt-sidebar-button-wireframe> - Children:
sidebar-button-icon,sidebar-button-comments-count,sidebar-button-unread-icon.
- React / Next.js
- Other Frameworks
sidebar-button-icon
The default chat icon.
- Public element:
<velt-sidebar-button-icon> - Wireframe tag:
<velt-sidebar-button-icon-wireframe>
- React / Next.js
- Other Frameworks
sidebar-button-comments-count
The badge showing total or unread comment count.
- Public element:
<velt-sidebar-button-comments-count> - Wireframe tag:
<velt-sidebar-button-comments-count-wireframe>
- React / Next.js
- Other Frameworks
sidebar-button-unread-icon
The “unread dot” overlay shown when there are unread comments.
- Public element:
<velt-sidebar-button-unread-icon> - Wireframe tag:
<velt-sidebar-button-unread-icon-wireframe>
- React / Next.js
- Other Frameworks
Related
- Comment Sidebar Button Wireframes — composition reference for the wireframe tags themselves.
- Comment Sidebar Button Primitives — granular components if you don’t need a full wireframe.
- Comment Sidebar Wireframe Variables — the sidebar that this button opens.
- Template Variables — overview of the
velt-data/velt-if/velt-classsystem.

