<!-- Accordion -->
<div class="js-accordion accordion accordion_simple">
<div class="fs-row">
<div class="fs-cell fs-lg-10 fs-xl-8 fs-lg-justify-center">
<div class="accordion_inner">
<div class="accordion_items">
<div class="js-accordion-item js-accordion-item-3-1 accordion_item">
<h2 class="accordion_item_heading">
<button class="js-accordion-swap js-swap accordion_item_heading_button" data-swap-target=".js-accordion-item-3-1">
<span class="accordion_item_heading_inner">
<span class="accordion_item_heading_label">
<span class="accordion_item_heading_title">Vestibulum laoreet nisi.</span>
</span>
<span class="accordion_item_heading_icon"></span>
</span>
</button>
</h3>
<div class="js-accordion-content accordion_item_content typography" aria-label="Vestibulum laoreet nisi.">
<p>Praesent commodo cursus magna, vel scelerisque nisl consectetur et. Curabitur blandit tempus porttitor. Etiam porta sem malesuada magna mollis euismod. <a href="#">Donec ullamcorper nulla</a> non metus auctor fringilla.</p>
<ul>
<li>Mauris augue sapien, accumsan ut.</li>
<li>Nullam eu auctor odio.</li>
<li>Pellentesque iaculis justo lectus, ac eleifend lorem consectetur quis. Sed metus lectus.</li>
</ul>
</div>
</div>
<div class="js-accordion-item js-accordion-item-3-2 accordion_item">
<h2 class="accordion_item_heading">
<button class="js-accordion-swap js-swap accordion_item_heading_button" data-swap-target=".js-accordion-item-3-2">
<span class="accordion_item_heading_inner">
<span class="accordion_item_heading_label">
<span class="accordion_item_heading_title">Nunc ullamcorper.</span>
</span>
<span class="accordion_item_heading_icon"></span>
</span>
</button>
</h3>
<div class="js-accordion-content accordion_item_content typography" aria-label="Nunc ullamcorper.">
<p>Praesent commodo cursus magna, vel scelerisque nisl consectetur et. Curabitur blandit tempus porttitor. Etiam porta sem malesuada magna mollis euismod. <a href="#">Donec ullamcorper nulla</a> non metus auctor fringilla.</p>
</div>
</div>
<div class="js-accordion-item js-accordion-item-3-3 accordion_item">
<h2 class="accordion_item_heading">
<button class="js-accordion-swap js-swap accordion_item_heading_button" data-swap-target=".js-accordion-item-3-3">
<span class="accordion_item_heading_inner">
<span class="accordion_item_heading_label">
<span class="accordion_item_heading_title">Vulputate Porta Egestas Magna Dolor</span>
</span>
<span class="accordion_item_heading_icon"></span>
</span>
</button>
</h3>
<div class="js-accordion-content accordion_item_content typography" aria-label="Vulputate Porta Egestas Magna Dolor">
<p>Praesent commodo cursus magna, vel scelerisque nisl consectetur et. Curabitur blandit tempus porttitor. Etiam porta sem malesuada magna mollis euismod. <a href="#">Donec ullamcorper nulla</a> non metus auctor fringilla.</p>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<!-- END: Accordion -->
{#
{% include '@component-accordion' with {
title: 'Title',
description: 'Description',
grouped: false,
items: [
{
title: 'Item Title',
subtitle: 'Item Subtitle',
description: '<p>Item Description</p>'
}
]
} %}
#}
{% set id = uniqid('js-accordion-item') %}
{% set group_id = uniqid('accordion-group') %}
{% set is_simple = not (title or description) %}
<!-- Accordion -->
<div class="js-accordion accordion {{is_simple ? 'accordion_simple'}}">
<div class="fs-row">
<div class="fs-cell {{is_simple ? 'fs-lg-10 fs-xl-8 fs-lg-justify-center'}}">
<div class="accordion_inner">
{% if title or description %}
<div class="accordion_header">
{% if title %}
<h2 class="accordion_title">
<span class="accordion_title_label">{{ title }}</span>
</h2>
{% endif %}
{% if description %}
<div class="accordion_description">
<p>{{ description }}</p>
</div>
{% endif %}
</div>
{% endif %}
<div class="accordion_items">
{% for item in items %}
<div class="js-accordion-item {{ id }}-{{ loop.index }} accordion_item">
{% if title %}
<h3 class="accordion_item_heading">
{% else %}
<h2 class="accordion_item_heading">
{% endif %}
<button class="js-accordion-swap js-swap accordion_item_heading_button" data-swap-target=".{{ id }}-{{ loop.index }}" {% if grouped %} data-swap-group="{{ group_id }}"{% endif %}>
<span class="accordion_item_heading_inner">
<span class="accordion_item_heading_label">
<span class="accordion_item_heading_title">{{ item.title }}</span>
{% if item.subtitle %}
<span class="accordion_item_heading_subtitle">{{ item.subtitle }}</span>
{% endif %}
</span>
<span class="accordion_item_heading_icon"></span>
</span>
</button>
{% if item.title %}
</h3>
{% else %}
</h2>
{% endif %}
<div class="js-accordion-content accordion_item_content typography" aria-label="{{ item.title }}{% if item.subtitle %} {{ item.subtitle }}{% endif %}">
{{ item.description }}
</div>
</div>
{% endfor %}
</div>
</div>
</div>
</div>
</div>
<!-- END: Accordion -->
No notes defined.