autocomplete | string | - | Allows the user to enable or disable autocomplete functionality on the input field. See MDN for more information and values. |
autoFocus | boolean | - | If true, the input will be focused on the first render. No more than one element in the document or dialog may have the autofocus attribute. If applied to multiple elements the first one will receive focus. See MDN for more information. |
inputmode | 'none' , 'text' , 'tel' , 'url' , 'email' , 'numeric' , 'decimal' , 'search' | - | Provides a hint to browsers as to the type of virtual keyboard configuration to use when editing this element. See MDN for more information. |
maxlength | number | - | Maximum length (number of characters) of value. Only applies to types: text , url , tel , email , and password . |
minlength | number | - | Minimum length (number of characters) of value. Only applies to types: text , url , tel , email , and password . |
name | string | - | The name of the input (used as a key/value pair with value ). This is required in order to work properly with forms. |
pattern | string | - | Specifies a regular expression the form control's value should match. |
placeholder | string | - | The placeholder text to display when the input is empty. Only applies to types: text , url , tel , email , and password . |
readonly | boolean | - | When true, the user cannot edit the control. Not the same as disabled. See MDN for more information. |
type | 'text' , 'number' , 'password' , 'url' , 'email' , 'tel' | text | The type of HTML input to render. |
value | string | '' | The value of the input (used as a key/value pair in HTML forms with name ). |
assistiveText | string | '' | Allows assistive text to be displayed below the input element. |
status | 'error' , 'success' | undefined | The status of the input component / assistive text. |
step | number | - | An optional amount that value should be incremented or decremented by when using the up and down arrows in the input. Only applies when type is number . |
min | number | - | The minimum value of the input. Only applies when type is number . If the value provided is lower, the input is invalid. |
max | number | - | The maximum value of the input. Only applies when type is number . If the value provided is higher, the input is invalid. |
size | 'small' , 'medium' , 'large' | medium | The size of the input field. Can be small , medium , or large . Defaults to medium . |
required | boolean | false | If true, the input is required to have a value before submitting the form. If there is no value, then the component validity state will be invalid. |