Input
Inputs allow user to enter, edit and submit information across the product.
API References
PropTypeDefault
ComponentType<IconProps>
—
showShortcut / shortcutKeys / shortcutStyle boolean / string[] / "inline" | "keys"
false
PropTypeDefault
"suffix""prefix""inlinePrefix"
"suffix"
InputWithButton: buttonLabel string
"Copy"
InputWithButton: leftIcon / buttonIcon / onButtonClick —
—
CounterInput: value / onChange / min / max / step number
—
PropTypeDefault
PasswordInput: showForgotPassword / onForgotPassword —
false
PasswordInput: showRequirements boolean
true
CardNumberInput: value / onChange string
—
PropTypeDefault
CurrencyInput: currencies CurrencyOption[]
—
PhoneNumberInput: countries CountryCodeOption[]
—
InlineSelectorInput: selectorOptions / selectorValue / onSelectorChange DropdownOption[]
—
DateInput: value / onChange / minDate / maxDate Date
—
PropTypeDefault
TagsInput: tags / onRemoveTag string[] / (tag: string) => void
—
InlineInput: value / onChange string
—