{% from "macros/form/attributes.html" import attributes %} {% macro nsw_button(text='', link_class='nsw-button--light-outline-solid',icon='', attrs={}, custom_icon='', type='button') %} {% if icon %} {{ icon }} {% endif %} {% if custom_icon %} {{ custom_icon|safe }} {% endif %} {{ text }} {% endmacro %}