Heading: H 5 Subtext

No notes defined.

<div>

    <h5 class="h5">
        Heading
    </h5>

    <p class="h5 sds-headingLight">Heading subtext</p>

</div>
{% if subText %}
<div {% if modifiers or classes %}class="{% endif %}{% for mod in modifiers %} {{ mod }}{% endfor %}{% for mod in classes %} {{ mod }}{% endfor %}{% if modifiers or classes %}"{% endif %}>
{% endif %}
	<{{ eltType }}{% if eltType === "h" %}{{ headingLvl }}{% endif %} class="h{{ headingLvlClass or headingLvl }}{% if not subText %}{% for mod in modifiers %} {{ mod }}{% endfor %}{% for mod in classes %} {{ mod }}{% endfor %}{% endif %}">
		{{ text | safe }}
	</{{ eltType }}{% if eltType === "h" %}{{ headingLvl }}{% endif %}>
	{% if subText %}
		<p class="{% if headingLvl %}h{{ headingLvl }} {% endif %}{{ namespace }}headingLight">{{ subText | safe }}</p>
	{% endif %}
{% if subText %}
</div>
{% endif %}
  • Handle: @heading--h5-subtext
  • Preview:
  • Filesystem Path: components/base-components/atoms/heading/heading.njk