Form

Layout, validation and state for a set of fields, with each field's label and error message linked by its name.

Anotomy

Structure of a form item and how its internal parts are composed. These are its semantic parts, so they are also what the classNames and styles objects accept. Set them on the Form to style every item at once.
Form anotomy
NameDescription
1rootOne Form.Item: the label, the control and the messages under it. layout puts the label beside or above the control.
2labelThe item's label, with the required mark from rules or required. Paired with the control when the item has a name.
3contentThe column holding your control, the item's children.
4helpThe block under the control that shows validation messages, or your own help.
5helpItemOne message in the help block. A field with several failing rules shows one per rule.
6extraThe lasting hint under the messages, from extra. It stays when the error goes away.