Skip to main content
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. 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.

The default chat icon.
  • Public element: <velt-sidebar-button-icon>
  • Wireframe tag: <velt-sidebar-button-icon-wireframe>

The badge showing total or unread comment count.
  • Public element: <velt-sidebar-button-comments-count>
  • Wireframe tag: <velt-sidebar-button-comments-count-wireframe>

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>