{# Button Attributes #}
{% set attributes = {
    id: theId | length ? theId : null,
    class: [
        theme,
        standardButtonClasses,
        standardFocusClasses,
        sizes,
        borderClasses,
        theGtmClasses | length ? theGtmClasses : '',
        theAddedClasses | length ? theAddedClasses : ''
    ],
    title: theTitle | length ? theTitle : theDescription,
    dataAttr: theDataAttr | length ? theDataAttr : null,
    type: theType | length ? theType : null,
    name: theName | length ? theName : null,
    value: theValue | length ? theValue : null
} %}

<button{{ attr(attributes) }}>
    {% include themeDir ~ '/_includes/_modules/_buttons/_button-icon' %}
    <span class="pointer-events-none">{{ theButtonText }}</span>
</button>