<div class="button-group">
</div>
{% import "icons.twig" as icons %}
<div
class="button-group{% if align == 'center' %} button-group--centered{% endif %}"
>
{% for item in items %}
<a class="btn btn--{{ color|default('red') }}" href="{{ item.button.url }}" target="{{ item.button.target }}" aria-label="{{ item.button.aria_label }}"><span>{{ item.button.title }} {{ icons.icon('down-arrow', '') }}</span></a>
{% endfor %}
</div>
{
"in_component_library": true
}
.button-group {
display: flex;
flex-wrap: wrap;
flex-shrink: 0;
gap: rem-calc(12px);
&--centered {
justify-content: center;
}
}
No notes defined.