{#
/**
 * @file
 * Template for Icon component.
 */
#}
{% set classes = [
  'kern-loader',
  'kern-loader' ~ (visibility ? '--visible' : '--invisible')
] %}
<div {{ attributes.addClass(classes) }} role="status">
  <span class="kern-sr-only">
    {% block label %}
      {{ label|default('loading...'|t) }}
    {% endblock %}
  </span>
</div>
