ZBMui

Number Field

View markdown

A field that allows user input of numeric values.

Installation

components/ui/number-field.tsx

Usage

Example

Sizes

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

Controlled

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

NumberField Props

Component type props
Prop
Type
Default
Expand prop details

ZBMui

Built by the ZBM.

© 2026 ZBM ui. All rights reserved.