.mp-tag(
  class={
    clickable: $attrs['clickable'],
    removable: $attrs['removable'],
    [sizeClass]: true,
  }
  on={click: $helpers.select})
  if $attrs['icon']
    .extra-icon
      svg-icon(attrs={icon: $attrs['icon']})
  .tag-name= $attrs[`tag-name`]
  if $attrs['removable']
    .remove-tag(on={click: $helpers.remove})
      .remove-icon
        svg-icon(attrs={icon: 'x'})
