A text input field component with label support and validation integration.
TextField
accepts a type
prop which can be any supported <input>
type. We strongly recommend that you only use this for types such as text
, url
, email
, and password
. We don't recommend using type="number"
unless absolutely necessary; this is because it has some accessibility issues.