larva modules: section-heading.h2
Section Heading
section-heading
README
This needs docs!
Create a README.md in the pattern's directory and add details about using this pattern in markdown.
section-heading
Twig The markup file.
<div class="section-heading // {{ section_heading_class }}">
{% if section_heading_markup %}
<h{{ section_heading_level_text }} class="{{ section_heading_classes }} {{ section_heading_typography_class }} {{ section_heading_color_class }} {{ section_heading_background_color_class }} {{ section_heading_text_align_class }}">{{ section_heading_markup }}</h{{ section_heading_level_text }}>
{% endif %}
{% if c_dek %}
{% include "@larva/components/c-dek/c-dek.twig" with c_dek %}
{% endif %}
</div>
section-heading.h2
JSON The data object for this pattern.
{
"section_heading_class": "lrv-u-margin-lr-auto lrv-u-border-t-3 lrv-u-padding-t-050",
"section_heading_level_text": "2",
"section_heading_classes": "",
"section_heading_color_class": "",
"section_heading_text_align_class": "",
"section_heading_typography_class": "lrv-a-font-accent-m",
"section_heading_background_color_class": "",
"section_heading_markup": "Section Heading",
"c_dek": false
}