Skip to content

Description

Form.SubHeading is a standardized sub heading for sections, ensuring default layout, spacing etc.

The used font-size is set to large.

Demos

Text only

This is a sub heading

Code Editor
<Form.SubHeading>This is a sub heading</Form.SubHeading>

Below MainHeading

This is a main heading

This is a sub heading

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

Over Stack

This is a sub heading

Stack contents

Code Editor
<Form.SubHeading>This is a sub heading</Form.SubHeading>
<Layout.Stack>
  <P>Stack contents</P>
</Layout.Stack>

Inside Card

This is a sub heading

Card contents

Code Editor
<Layout.Card>
  <Layout.Stack>
    <Form.SubHeading>This is a sub heading</Form.SubHeading>
    <P>Card contents</P>
  </Layout.Stack>
</Layout.Card>

Over Stack with Card

This is a sub heading

Card contents

Code Editor
<Form.SubHeading>This is a sub heading</Form.SubHeading>
<Layout.Stack>
  <Layout.Card>
    <P>Card contents</P>
  </Layout.Card>
</Layout.Stack>

Two sub headings

This is sub heading 1

This is sub heading 2

Other contents
Code Editor
<Form.SubHeading>This is sub heading 1</Form.SubHeading>
<Form.SubHeading>This is sub heading 2</Form.SubHeading>
Other contents