BalanceReckon Design System

TextInput

A styled single-line input element for free-form text.

TextInputProps

PropTypeRequiredDefaultDescription
hideInvalidAdornmentboolean——Hide the invalid adornment in cases where TextInput is overlaid as a toggle on top of another input with an adornment such as DatePicker.
invalidboolean———
onChangeNonNullable<InputProps['onChange']>Yes——
sizeInputSizeType
xsmall|small|medium|large
—medium—
typeValidType
email|number|password|search|tel|text|url
—text—
valueNonNullable<InputProps['value']>Yes——
Also accepts Omit<InputProps, 'onChange' | 'type' | 'size' | 'value'>

InputBaseProps

PropTypeRequiredDefaultDescription
focusRing
normal|bold
———
shapeInputShapeType
square|round
Yes——
sizeInputSizeType
xsmall|small|medium|large
Yes——