Form Footer

The section at the bottom of a form typically contains call-to-action buttons.

Anatomy


The anatomy of the form footer.

The anatomy of the form footer.

  1. Separator: A little border that helps differentiate the footer from the rest of the form.
  2. Content: By default, the content of the footer contains a CTA Group with the main CTAs of a form. For more information on our CTA guidelines, check out our button guides.

 

Styling


Spacing

Horizontal

The separator should span the whole parent container, but the padding of the content should align with the fields above.

The horizontal padding of the form footer content.

The horizontal padding of the form footer content.

Top Margin

The gap between the form footer and the rest of the form should have a minimum of 32px (forms-formBody-paddingBottom).

The minimum recommended spacing between the form footer and the rest of the form.

The minimum recommended spacing between the form footer and the rest of the form.

The content should have a vertical padding of 16px (forms-formFooter-verticalPadding.)

The vertical padding of the form footer content.

The vertical padding of the form footer content.

Color

The separator uses the token forms-formFooter-separator for its styling, meaning it has a 1px stroke and uses cornflower-300 as its color.

The form footer separator.

The form footer separator.

 

Behavior


Scrolling

The form footer can remain fixed to the bottom of its parent container if the form is larger than the height of the screen.
But the majority of fields below the first fold of the screen should be optional, otherwise, we strongly recommend not making the footer fixed.

A form footer fixed to the bottom of the screen.

A form footer fixed to the bottom of the screen.