{% capture addon %}
	{% if include.loader %}
		<span class="input-icon-addon{% if include.icon-class %} {{ include.icon-class }}{% endif %}">
			{% include "ui/spinner.html" class="text-secondary" size="sm" %}
		</span>
	{% else %}
		{% assign icon = include.icon | default: 'search' %}
		<span class="input-icon-addon{% if include.icon-class %} {{ include.icon-class }}{% endif %}">
			{% include "ui/icon.html" icon=icon %}
		</span>
	{% endif %}
{%- endcapture %}

<div class="input-icon{% if include.class %}