Skip to content

InputNumber & InputRange

InputNumber

js
import InputNumber from 'intergalactic/input-number';

InputNumberProps

& {...}
NameTypeDescription
size Input size

InputNumber.Value

jsx
import InputNumber from 'intergalactic/input-number';
<InputNumber.Value />;

InputNumberValueProps

& {...}
NameTypeDescription
minnumber Minimum value
maxnumber Maximum value
stepnumber Value change step
value Numeric value
onChange(value: , event: React.SyntheticEvent<>) => void Called when the input value changes, it returns its current value in numeric format
localestring

InputNumber.Controls

jsx
import InputNumber from 'intergalactic/input-number';
<InputNumber.Controls />;

InputNumberControlsProps

& {...}
NameTypeDescription
showControlsboolean Always displays controls (steppers)

InputNumber.Addon

jsx
import InputNumber from 'intergalactic/input-number';
<InputNumber.Addon />;

API is the same as Input.Addon has.

Released under the MIT License.

Released under the MIT License.