Number Input

The NumberInput component is similar to the Input component, but it has controls for incrementing or decrementing numeric values.

SourceTheme Source@chakra-ui/number-input

Props#

NumberInput Props#

NumberInput composes Flex with some additional props listed below.

NumberInputField Props#

NumberInputField composes Input so you can pass all Input props. If you want to change the size, pass the size prop to the NumberInput component instead, as demonstrated above.

NumberInputStepper Props#

NumberInputStepper composes Flex so you can pass all Flex props.

NumberDecrementStepper and NumberIncrementStepper Props#

NumberDecrementStepper and NumberIncrementStepper composes the Box props so you can pass all Box props.

Edit this page on GitHub

Proudly made inNigeria by Segun Adebayo

Deployed by â–² Vercel