Skip to main content
New to wireframes? Start with UI Customization Concepts and the Template Variables overview.

Overview

The Reactions feature renders emoji reactions on annotations and on inline page content. Variables below are available inside any <velt-reaction-...-wireframe>, <velt-inline-reactions-section-...-wireframe>, or <velt-reactions-panel-...-wireframe> tag via three forms:
This feature uses the flat-config access pattern — variables are referenced via the explicit componentConfig.<path> form. Each primitive carries its own componentConfigSignal — the tool, the pin, and the inline-reactions section expose different variable sets (documented separately below).

Component Config — Reaction Tool

State on the <velt-reaction-tool> ”+” emoji-picker button.

Component Config — Reaction Pin

State on a single <velt-reaction-pin> (an emoji “pin” placed on the page or next to a comment).

Component Config — Inline Reactions Section

State on the <velt-inline-reactions-section> — an inline strip of reactions for a target element.

Context-Specific Variables

These are only resolvable inside the nested wireframe tags noted in the Available in column. Each is injected by the iteration primitive that owns the tag.

Type Reference

Types referenced by the variables above are documented in Data Models:

Subcomponents

Each subcomponent below has its own wireframe tag.

reaction-tool

The ”+” emoji-picker button.
  • Public element: <velt-reaction-tool>
  • Wireframe tag: <velt-reaction-tool-wireframe>

reaction-pin

A single placed emoji reaction.
  • Public element: <velt-reaction-pin>
  • Wireframe tag: <velt-reaction-pin-wireframe>
  • Children: *-pin-emoji, *-pin-count, *-pin-tooltip-users, *-pin-tooltip-user, *-pin-tooltip-user-avatar, *-pin-tooltip-user-name.

inline-reactions-section

An inline strip of reactions placed next to a target element.
  • Public element: <velt-inline-reactions-section>
  • Wireframe tag: <velt-inline-reactions-section-wireframe>
  • Children: *-tool-container, *-panel, *-list.

Children

Deeply-Nested Wireframe Tags

The reaction-pin and the reactions-panel decompose further. Each tag below has its own <velt-...-wireframe> registration and inherits context variables from its parent.

Reaction Pin tags

The reaction-pin’s componentConfig.annotation carries from (the reactor), emoji, and users (everyone who reacted with the same emoji).

Reactions Panel tags

When the user clicks the reaction-tool ”+” button, the reactions-panel emoji picker opens. Each row exposes the per-iteration variable emoji ({ key, value, name? }) and isSelected.

Reactions Panel example