{#
/**
 * @file
 * Template for Icon component.
 */
#}
{% set size = size|default('none') %}
{% set attributes = attributes|default(create_attribute()) %}

{% set classes = [
  'kern-icon',
  'kern-icon--' ~ icon,
  size != 'none' ? 'kern-icon--' ~ size,
] %}
<span {{ attributes.addClass(classes) }} aria-hidden="true"></span>
