{% load ui_classes ui_props %}
{% ui_props "ui.brand" %}
{% ui_class "ui.brand" "root" class=class as root_class %}
{% ui_class "ui.brand" "icon" as logo_class %}
{% ui_class "ui.brand" "image" as image_class %}
{% ui_class "ui.brand" "label" as text_class %}
{% partialdef brand_content %}
{% if display != "text" %}
{% if slot or logo %}
{% if slot %}
{{ slot }}
{% else %}
{% endif %}
{% endif %}
{% endif %}
{% if display != "logo" and name %}
{{ name }}
{% endif %}
{% endpartialdef %}
{% if href %}
{% partial brand_content %}
{% else %}
{% partial brand_content %}
{% endif %}