Display.heading
Displays bold heading with large font size.
Usage
Preview
app.buttonize.io
Props
label
Required
string
The displayed text.
subtitle
Optional
string
Can serve as a further description of the heading.
level
Optional
1 | 2 | 3 | 4
Level of the heading. Default level is 1
.
spacingTop
Optional
’sm’ | ‘md’ | ‘lg’ | ‘xl’
The amount of space to give above the component.
spacingBottom
Optional
’sm’ | ‘md’ | ‘lg’ | ‘xl’
The amount of space to give below the component.
width
Optional
1 | 2 | 3 | 4
The width of the component.