{#
/**
 * @file
 * FlowDrop Status Badge Component
 *
 * Displays a status indicator badge with optional dot indicator.
 *
 * Available variables:
 * - label: The badge text (required)
 * - variant: Visual variant (success, warning, error, info, neutral)
 * - size: Badge size (sm, md)
 * - dot: Whether to show a dot indicator
 */
#}

{% set variant = variant|default('neutral') %}
{% set size = size|default('md') %}
{% set dot = dot|default(false) %}

<span class="fd-status-badge fd-status-badge--{{ variant }} fd-status-badge--{{ size }}">
  {% if dot %}
    <span class="fd-status-badge__dot"></span>
  {% endif %}
  <span class="fd-status-badge__label">{{ label }}</span>
</span>


