Form headings and labels should be set in sentence case with the first letter of the first word capitalized. Refer to the text input, dropdown, checkbox, radio button, toggle, and button pages for specific typography details on each component.
|Element||Font-size (px/rem)||Font-weight||Type token|
|Heading||28 / 1.75||Regular / 400|
|Label||12 / 0.75||Regular / 400|
|Field text||14 / 0.875||Regular / 400|
|Helper text||12 / 0.75||Regular / 400|
|Error message||12 / 0.75||Regular / 400|
Forms are made up of several different components. The order in which these elements are arranged is flexible and by default the vertical spacing between elements should follow the guidelines below. The vertical spacing in a form can be adjusted to be smaller than the default depending on the use case or layout.
Forms can be one column or two. The width of each column varies based on the content and layout of the design. On mobile, forms can only have one column.
|Element||Property||px / rem||Spacing token|
|Form items||margin-bottom||32 / 2|
|Title area||margin-bottom||32 / 2|
|Gutter between items||–||32 / 2|
|Buttons||margin-top||32 / 2|