Fields enable the user to input content in a form. It displays a label, useful informations, an input and gives validation feedback.
Fields are a combination of the following mentions. Please note that you can use four different cases:
- Label only + input
- Label + requirement + input
- Label + requirement + help text + input
- Label + help text + input
The label helps the user to understand what information is needed in the field.
This mention allows to specify that this information is mandatory for the field to be valid.
Help text corresponds to a relevant piece of information to make sure the user understands what is needed.
There are two different elements for validation feedback:
- An icon placed in the input.
- A text under the field explains what's wrong with the data entered.
You can use two different sizes for fields to answer different needs. You can use both cases to suit your interface the best. Just keep in mind touch devices when placing smaller elements near each other.