{% if type == "info" %}
{% if icon %}
{{ icon_slot }}
{% else %}
{% endif %}
{% elif type == "success" %}
{% if icon %}
{{ icon }}
{% else %}
{% endif %}
{% elif type == "warning" %}
{% if icon %}
{{ icon }}
{% else %}
{% endif %}
{% elif type == "error" %}
{% if icon %}
{{ icon }}
{% else %}
{% endif %}
{% else %}
{% if icon %}
{{ icon }}
{% else %}
{% endif %}
{% endif %}
{% if title %}
{{ title }}
{% endif %}
{% if description %}
{{ description }}
{% endif %}
{{ slot }}