<a href="#" class=" text-base">
    Link
</a>
<a href="{{ href|default('#') }}" {{ link_attribute }} class="{{ underlined is defined and underlined ? 'is-underlined' }}{{ size is defined ? ' text-' ~ size : ' text-base' }}{{ type is defined ? ' link-' ~ type }}{{ color is defined and color != 'dark' ? ' link-' ~ color }}{{ noUnderline is defined and noUnderline ? ' no-underline' }}">
    {% if type == "leading-icon" %}
    {% block leading_icon %}
    {% render "@icons-" ~ icon.name|default("library--arrow-right") with {size: icon.size,iconClass: icon.class} %}
    {% endblock %}
    {% endif %}
    {{ label }}
    {% if type == "trailing-icon" %}
    {% block trailing_icon %}
    {% render "@icons-" ~ icon.name|default("library--arrow-right") with {size: icon.size,iconClass: icon.class} %}
    {% endblock %}
    {% endif %}
</a>
{
  "label": "Link"
}

No notes defined.