@namespace Connected.Components
@inherits UIComponent

@if (!string.IsNullOrEmpty(Glyph) && Glyph.Trim().StartsWith(("<")))
{
    <svg @attributes="CustomAttributes" class="@Classname" focusable="false" viewBox="@ViewBox" aria-hidden="true">
        @if (Title != null)
        {
            <title>@Title</title>
        }

        @((MarkupString)Glyph)
    </svg>
}
else
{
    <span @attributes="CustomAttributes" class="@($"{Classname} {Glyph}")" title="@Title" />
}
