ZBMui

Number Input

View markdown

A compact numeric input with stacked increment and decrement buttons.

Installation

Usage

Example

Sizes

Pass the size prop to set the size of the NumberInput. Available sizes are xs, sm, default, lg, and xl.

Controlled

Use value and onValueChange to control the input from state. The value is null when the input is empty.

Your age is: null

Minimum and maximum value

Pass the min prop or max prop to set an upper and lower limit for the input. By default, the input will restrict the value to stay within the specified range.

API Reference

NumberInput Props

Component type props
Prop
Type
Default
Expand prop details

ZBMui

Built by the ZBM.

© 2026 ZBM ui. All rights reserved.