<button class="btn btn--expanded">
      Button label </button>
{% if icon_position is not defined %}
  {% set icon_position = 'before' %}
{% endif %}
<button class="btn{{ modifier ? ' btn--' ~ modifier }}{{ size ? ' btn--' ~ size }}{{ expanded ? ' btn--expanded' }}">
  {% if icon and icon_position == 'before' %}
    {% include '@icon' with { 'type': icon } %}
  {% endif %}
  {% if icon %}<span{% if icon_only %} class="visually-hidden"{% endif %}>{% endif %}{{ label }}{% if icon %}</span>{% endif %}
  {% if icon and icon_position == 'after' %}
    {% include '@icon' with { 'type': icon } %}
  {% endif %}
</button>
{
  "label": "Button label",
  "modifier": "expanded"
}