{# LIBRARIES #}
{{ attach_library('ui_patterns/tm_bits_badge.tm_bits_badge_lib') }}

{% if badge_text or badge_text_large %}
  <div class="card-badge {% if floating %} floating {% endif %}">
    <div class="badge-text">
      <span>{{ badge_text }}</span>
      <span class="large">{{ badge_text_large }}</span>
    </div>
  </div>
{% endif %}
