Template
{% set modifiers = [] %}
{% if mutation %}
{% set modifiers = modifiers|merge([mutation]) %}
{% endif %}
{% if tenant %}
{% set modifiers = modifiers|merge([tenant]) %}
{% endif %}
{% if reduced %}
{% set modifiers = modifiers|merge(["reduced"]) %}
{% endif %}
{% if icon_left %}
{% set modifiers = modifiers|merge(["iconLeft"]) %}
{% endif %}
{% set icon_html %}
{% if icon %}{% include "@elements/icon/icon.html.twig" with {name: icon} only %}{% endif %}
{% endset %}
{% include "@fsk/form/button/button.html.twig" with {
attributes: attributes,
icon: icon_html,
classes: [class],
disabled: disabled,
hidden: hidden,
label: label,
modifiers: modifiers,
target: target,
type: type,
url: url,
} only %}