Skip to content

NumberFieldIncrement ​

Overview ​

An increment button for NumberField, absolutely positioned to the right of the input and rendering a Plus icon by default.

Theme entry: NumberFieldIncrement

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.
classimport('vue').HTMLAttributes['class']undefinedAdditional CSS classes to apply to the root element.
disabledbooleanundefinedWhen true, disables the increment button.
asstring|object"button"The element or component to render as.
asChildbooleanfalseWhen true, merges props onto the child element instead of rendering a wrapper.

Slots ​

default ​

Slot.

Source ​

client/lib/controls/number-field/NumberFieldIncrement.vue