Components / Number field

Default

A clean, integrated numeric spinner.

Step Increments

Set a custom step value. The input snaps to these increments.

Disabled State

Read-only mode.

Input with Action

Merging an input with a send button.

Double Input

Grouping multiple inputs.

MayaNumberField Props API

Prop / EventTypeDefaultDescription
modelValueNumber0The numeric value of the field. Used with v-model.
minNumber-InfinityThe minimum allowed value.
maxNumberInfinityThe maximum allowed value.
stepNumber1The step increment/decrement amount.
disabledBooleanfalseWhether the number field is disabled.
@update:modelValueEventEmitted when the numeric value changes.