Form layout utilities arrange fields, labels, hints, and validation messages in horizontal, vertical, or grouped layouts.

Подсказка под полем
Подсказка под полем
Подсказка под полем
Перемещение внутри периметра
Подсказка под полем

By default, labels occupy one out of four columns with a 16 px gutter.
You can also set a different size, including a fixed width.

Подсказка под полем
Перемещение внутри периметра
Подсказка под полем

Multiple fields can be combined and grouped together to emphasize their relationship.

Field group title
Hint for the first field. A long hint text below the field that wraps to a new line and spans the full width of the group Hint for the second field

Within a group, you can use a placeholder as the field label. Hints and errors will be shown below the group in sequence, with an indication of the specific field they relate to. You can also use a general message for the group or omit the field names in the text if the meaning remains clear without labels.

Surname: error message for the first fieldName: error message for the second fieldPatronymic: error message for the third field

A button can also be combined with a field.

A long field name that wraps to a new line and is positioned even above the button.
A long hint text under the field that wraps to a new line and even extends beneath the button.
Suggestions for improvement
If you found a mistake or want to improve the article, create an issue on GitHub.