Skip to content

ScopeChip ​

Overview ​

Renders one list scope as a read-only pill. A scope is a list constraint supplied by a link or by application code that has no editable input, so the label segment only describes it; when the scope is clearable, a trailing segment asks to clear it.

Theme entry: ScopeChip

Props ​

NameTypeRequiredDefaultDescription
iconOverrideObjectnullA partial icon registry ({ [componentName]: { [iconName]: { component, props } } }) merged with inherited and default icon entries; scopes icon overrides to this component and its descendants.
themeOverrideObjectnullA partial ThemeObject keyed by component name, merged over this component's theme and provided to descendants.
labelstringyesReadable description of the scope, such as "2 selected records" or a batch name.
clearablebooleantrueWhen true, the chip shows a clear control.

Slots ​

NameScopedDescription
defaultReplaces the label text.

Full slot reference

Events ​

NameDescription
clearEmitted when the reader activates the clear control.

Full event reference

Source ​

client/lib/display/scope/ScopeChip.vue