<div class="hgm-alert alert-collapsed" role="alert" data-collapse-logic="open-default">
<div class="hgm-alert__container">
<button type="button" class="hgm-button hgm-alert__close" aria-label="Close">Close<i class="fas fa-times right"></i></button>
<div class="row hgm-alert__row">
<div class="col">
<i class="fas fa-exclamation-triangle"></i>
<h4>Example alert</h4>
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna.</p>
<a href="#" class="hgm-button">Action button <i class="fas fa-chevron-right right"></i></a>
</div>
</div><!-- &__row -->
</div><!-- &__container -->
<div class="hgm-alert__strip" tabindex="0" role="button" aria-pressed="false">
Custom message shown here
</div><!-- &__strip -->
</div><!-- hgm-alert -->
<div class="hgm-alert alert-collapsed" role="alert" data-collapse-logic="open-default">
<div class="hgm-alert__container">
<button type="button" class="hgm-button hgm-alert__close" aria-label="Close">Close<i class="fas fa-times right"></i></button>
<div class="row hgm-alert__row">
<div class="col">
<i class="fas fa-exclamation-triangle"></i>
<h4>Example alert</h4>
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna.</p>
<a href="#" class="hgm-button">Action button <i class="fas fa-chevron-right right"></i></a>
</div>
</div><!-- &__row -->
</div><!-- &__container -->
<div class="hgm-alert__strip" tabindex="0" role="button" aria-pressed="false">
Custom message shown here
</div><!-- &__strip -->
</div><!-- hgm-alert -->
/* No context defined. */
Collapse logic is summarized below; please note the preferred order of the flow (accessible within the CMS setup):
Use data attributes directly on the site alert to change the visual behavior; the following data attributes are currently in use: