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 Section
This is a main heading
Section contents
Code Editor
<Layout.MainHeading>This is a main heading</Layout.MainHeading> <Layout.Section>Section contents</Layout.Section>
Over Section with Card
This is a main heading
Card contents
Code Editor
<Layout.MainHeading>This is a main heading</Layout.MainHeading> <Layout.Section> <Layout.Card>Card contents</Layout.Card> </Layout.Section>