Skip to content

Description

Form.MainHeading is a standardized main heading for sections, ensuring default layout, spacing etc.

The used font-size is set to large.

Demos

Text only

This is a main heading

Code Editor
<Form.MainHeading>This is a main heading</Form.MainHeading>

Over Stack

This is a main heading

Stack contents

Code Editor
<Form.MainHeading>This is a main heading</Form.MainHeading>
<Flex.Stack>
  <P>Stack contents</P>
</Flex.Stack>

Over Stack with Card

This is a main heading

Card contents

Code Editor
<Form.MainHeading>This is a main heading</Form.MainHeading>
<Flex.Stack>
  <Card>
    <P>Card contents</P>
  </Card>
</Flex.Stack>