{# djlint:off #} <{% if href %}a{% else %}button{% endif %} class="btn {% if outline %} btn-outline-{{ variant }}{% else %} btn-{{ variant }}{% endif %} {% if size %}btn-{{ size }}{% endif %} {{ class }}" {{ attrs }}> {# djlint:on #} {% if slot %} {{ slot }} {% else %} {{ text }} {% endif %} {# djlint:off #} {# djlint:on #}