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

Overview

The Autocomplete primitive is the @-mention picker rendered inside <velt-autocomplete-panel> (or <velt-autocomplete-tool>), mounted by composers — most prominently the Comment Dialog Composer. Variables below are available inside any <velt-autocomplete-...-wireframe> tag via three forms:
This feature uses the flat-config access pattern — top-level state is referenced via the explicit componentConfig.<path> form. Iteration variables (option, chip) are injected by specific subcomponents and resolve as bare names — see Context-Specific Variables below.

Component Config

Panel-level state shared with every Autocomplete primitive.

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:

Subcomponents

Each subcomponent below has its own wireframe tag (except where noted).

autocomplete-tool

The trigger button that opens the panel (e.g. the ”@” icon button in the composer).
  • Public element: <velt-autocomplete-tool>

autocomplete-panel

The opened menu — the Autocomplete root primitive that hosts every other tag.
  • Public element: <velt-autocomplete-panel>

autocomplete-empty

Empty-state shown when no options match the current query.
  • Wireframe tag: <velt-autocomplete-empty-wireframe>

autocomplete-option

A single option row. Composes name + description + icon + error-icon child tags.
  • Wireframe tag: <velt-autocomplete-option-wireframe>

autocomplete-group-option

A group-of-users row, used when customGroupsEnabled is true or when mention groups are present in the data.
  • Wireframe tag: <velt-autocomplete-group-option-wireframe>

autocomplete-chip

The chip rendered inline when the user picks a mention (lives inside the contenteditable composer input).
  • Wireframe tag: <velt-autocomplete-chip-wireframe>

autocomplete-panel-search-icon

The magnifying-glass icon shown in the panel’s search input.
  • Wireframe tag: <velt-autocomplete-panel-search-icon-wireframe>

Deeply-Nested Wireframe Tags

The option rows and chip tooltips decompose further. Each tag below has its own <velt-autocomplete-...-wireframe> registration and inherits context variables from its parent.

Option child tags

Each tag resolves the parent option’s iteration context — option (and option.user / option.group where applicable).

Chip tooltip tags

Each tag resolves the parent chip’s chip iteration context.