Style Guide
Search…
Forms

Usage of Forms

Forms are used when it makes sense to gather multiple pieces of information from users at once. For example we use forms to collect job details and payment information.

Types of Forms

Primary Forms (Desktop Only)

Primary forms are used when the primary purpose of the page is to collect information and move the user through an input flow.

Secondary Forms (Desktop Only)

Secondary forms are used when the page is being used for multiple purposes. For example, on our When pages, we are both building trust with service-related content and collecting job details. They are always sticky to the right side of the page and take up 4 columns.

Mobile Web Forms

On mobile web, all forms follow the same format and all input fields become full-width. All card and background UI is hidden once we break to mobile web format.

Form Layout

Grid

We use two form layouts on desktop: A primary, left-aligned form, and a secondary, right aligned form. Both are displayed on white cards with our standard drop shadow and 5-radius rounded corners. On mobile web, all forms follow the same format, with input fields spanning the full width of the screen and no cards or background.
Column layout options for desktop forms
Margins and padding for desktop forms.
All form content should have 16px right and left padding on mobile web.

Headers and Copy

We use H2 headers or H3 headers to label forms or sections of forms. Headers should be short and clearly define the group of input fields the cover. If needed, use subcopy in dark slate under the header. You can also use subcopy between input fields without adding another header, if the input fields live under the same header.

Input Fields

We use the same input field UI across all forms (same across desktop, mobile web, and native). The only variable is the width of the input field.

Inactive: Label or Placeholder Text

1
font-family: Circular
2
font-weight: Book
3
font-size: 16pt
4
font-color: slate-medium-dark, #9CABB5
5
padding-left: 16px
6
padding-top: 16px
7
padding-bottom: 16px
Copied!

Container

1
border-radius: 5px
2
border: 1px
3
border color: slate-medium, #C2CED3
4
fill color: off-white, #FBFBFB
Copied!

Active: Label

1
font-family: Circular
2
font-weight: Book
3
font-size: 10pt
4
color: slate-medium-dark, #9CABB5
5
padding-left: 16px
6
padding-top: 8px
Copied!

Active: Input Text

1
font-family: Circular
2
font-weight: Book
3
font-size: 16pt
4
color: text-black, #434343
5
padding-left: 16px
6
padding-bottom: 8px
Copied!

Error States

We use the same error state UI across all forms. We have two error states: One for when the user has not yet entered anything into a required input field, and one for when they have entered invalid information.

Container: Color and border change

1
border-radius: 5px
2
border: 2px
3
border color: red-medium, #E74343
4
fill color: off-white, #FBFBFB
Copied!

Text: Color change

1
text-color: red-medium, #E74343
Copied!

Buttons

Buttons always span the full width of the form content. We always use large buttons for forms. If a CTA in is required in the middle of a form, we use a special UI where the input field accommodates the CTA.