Skip to content

MainHeading

Description

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

Demos

Text only

This is a main heading

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

Over Stack

This is a main heading

Stack contents
Code Editor
<Layout.MainHeading>This is a main heading</Layout.MainHeading>
<Layout.Stack>Stack contents</Layout.Stack>

Over Stack with Card

This is a main heading

Card contents
Code Editor
<Layout.MainHeading>This is a main heading</Layout.MainHeading>
<Layout.Stack>
  <Layout.Card>Card contents</Layout.Card>
</Layout.Stack>