{% load lb_tags lbr_tags %} {% parse_icon attrs as i %} {% lbr_props "button" attrs=attrs btnStyle=btnStyle as rx %} <{{ as }} class="{% if btnStyle != 'bare' %}{{ rx.classes }}{% endif %}" {{ rx.attrs }} > {% if i.name and not i.end %} {% endif %} {{ slot }} {% if i.name and i.end %} {% endif %}