<SectionHeader> Component

Very simple headline & subheading for a section of a page.

Share
Code Editor

Where it's used

0.x.x
Loading 0.x.x releases...
1.x.x
Loading 1.x.x releases...
2.x.x
Loading 2.x.x releases...
3.x.x
Loading 3.x.x releases...
4.x.x
Loading 4.x.x releases...
5.x.x
Loading 5.x.x releases...

Props

NameDescription
headline
string
The primary headline.
description
string
A smaller line of text below the headline.
useH1
boolean
Whether to make the headline an h1 or h2.

Examples

With useH1 prop:

Share
Code Editor

With description in a <p> tag:

Share
Code Editor

With description with multiple <p>:

Share
Code Editor