larva components: c-link
Available Variants
prototypec-link
README
A simple text link element with no other containing or inner markup.
c-link
Twig The markup file.
<a class="c-link {{ modifier_class }} {{ c_link_classes }}" href="{{ c_link_url }}"
{% if c_link_target_attr %}
target="{{ c_link_target_attr }}"
{% endif %}
{% if c_link_rel_attr %}
rel="{{ c_link_rel_attr }}"
{% endif %}
{% if c_link_aria_label_attr %}
aria-label="{{ c_link_aria_label_attr }}"
{% endif %}
>
{{ c_link_text }}
</a>
c-link
JSON The data object for this pattern.
{
"modifier_class": "",
"c_link_classes": "lrv-a-unstyle-link",
"c_link_text": "A plain text link",
"c_link_url": "#",
"c_link_rel_attr": false,
"c_link_aria_label_attr": false,
"c_link_target_attr": false
}