The basic form consists of several parts: a Form Name, an optional Top Level Error, one or more Input Fields, and a Next/Submit button.
Form Name
This should use one of the Section UI Heading styles, and defaults to the Basic variant. It is required and should describe the ultimate action of the form.
Top Level Error
See Error Handling below.
Input Fields
One or more input fields from the input component may be included in the form. Currently, these will all occupy 100% of the form width and stack with 40px of spacing between them.
Next/Submit Button
This button should start out as a default button and become a primary or CTA button once the form has been completely filled out.
If the form is broken up into multiple pages, use a “Continue” or “Next” button to advance in the form series. Maintain the same Form Name between each page. You should also include some UI for returning to previous steps in the process, where possible.