Use <zinq:heading>
to create a heading element. The heading element is used to define the structure of the document.
By default, the <zinq:heading>
component will render as <div>
tag, unless you specify the level attribute.
<zinq:heading>Edit profile</zinq:heading>
<zinq:subheading>Update your profile information.</zinq:subheading>
There are four levels of headings, from <zinq:heading level="1">
to <zinq:heading level="4">
. The level attribute is used to define the level of the heading.
<div class="space-y-6">
<div>
<zinq:heading level="1">Edit profile</zinq:heading>
<zinq:subheading>Update your profile information.</zinq:subheading>
</div>
<div>
<zinq:heading level="2">Edit profile</zinq:heading>
<zinq:subheading>Update your profile information.</zinq:subheading>
</div>
<div>
<zinq:heading level="3">Edit profile</zinq:heading>
<zinq:subheading>Update your profile information.</zinq:subheading>
</div>
<div>
<zinq:heading level="4">Edit profile</zinq:heading>
<zinq:subheading>Update your profile information.</zinq:subheading>
</div>
</div>