Anatomy
- Separator: A little border that helps differentiate the footer from the rest of the form.
- 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.
Top Margin
The gap between the form footer and the rest of the form should have a minimum of 32px (forms-formBody-paddingBottom).
Footer Content Vertical Padding
The content should have a vertical padding of 16px (forms-formFooter-verticalPadding.)
Color
Form Footer Separator
The separator uses the token forms-formFooter-separator for its styling, meaning it has a 1px stroke and uses cornflower-300 as its color.
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.
Related Components