Default
Bind a number with v-model. Click or hold the controls, type directly, or use ArrowUp / ArrowDown while the input is focused.
Bind a number with v-model. Click or hold the controls, type directly, or use ArrowUp / ArrowDown while the input is focused.
Compare range limits, strict integer steps, decimal precision, and clear-value fallback. Precision should accommodate the decimal places in step.
Disabled blocks interaction, readonly preserves a non-editable value, and controls=false hides the buttons while keeping typing and arrow-key stepping.
Color controls the text and step icons; background controls the surface. Hover and focus retain the chosen colors with a soft inset shadow. Choose custom colors with sufficient contrast.
Compare rounded and square side by side. Shape applies to the shell and inner input; explicit values override global configuration.
NumberString | Number | nullString(value: number | null | undefined, oldValue: number | null | undefined) => void