Input.InputField
View Source
The base component used in Input as well as Input.Inline and Combobox.Input. Provides a clean input base to build on top of.
Copy
Edit
Props
autoWidth
boolean | number | stringSets the input’s width to the exact size of the text plus padding and cursor. Allows a string to be passed for measuring if input value is different from displayed value.
autoWidthType
'width' | 'basis' | 'both'Determines how the size is applied. Either through width or flexBasis.
placeholderColor
stringEasily set the placeholder color of the input.
highlightOnInteraction
booleanForces the input text to stay fully selected while interacting with it.
size
'xs' | 'sm' | 'md' | 'lg' | 'xl'Size of the input font-size, and line-height. Based on theming sizes.