heading/introduction
Usage
Quick Demo
Quick Start
This component follows this anatomy:
<Heading>
<HeadingTitle/>
<HeadingSubtitle/>
</Heading>
All child components are optional. If you only need a title, instead of the verbose:
<Heading>
<HeadingTitle>...<HeadingTitle>
</Heading>
You can use this simpler approach with the same result:
<Heading>...<Heading>
<HeadingTitle> supports 6 sizes (h1 to h6). Want to control the size while using the simpler approach? Just specify it on the root component:
<Heading size='h3'>...</Heading>
Here are demos for all possible sizes:
For more info on related components and demos showing how versatile this component can be, check out the API reference page.
Q&A
If you have questions about the design philosophy of this component, you'll find better answers by checking the source code (we provide context there with clear comments). For other common questions, see below: