Skip to main content

Heading

The Heading component allows the placement of a heading on a page.

Properties

NameTypeDefaultDescription
textstringDefines the text within the heading.
tagh1
h2
h3
h4
h5
h6
div
span
p
string
h6Defines the html tag to use for the heading.

Style Attributes

NameTypeDefaultDescription
varianth1
h2
h3
h4
h5
h6
string
h6Specifies the type of heading to display.
fontColorinitial
inherit
primary
secondary
text primary
text secondary
error
string
initialDefines the font color of the heading.
aligninherit
left
center
right
justify
string
inheritDefines the alignment of the heading.
gutterBottomboolfalseIf true, adds a gutter to the bottom of the heading.
noWrapboolfalseIf true, prevents the heading from wrapping.