{% load daisy_cotton %}{% comment %}
{# @description A styled anchor. Shows the text, then the default slot. Without an href it renders an anchor with no href attribute. #}
{# @prop href:text | description:"Destination of the link. Without it no href attribute is written." #}
{# @prop text:text | description:"Link text, shown before the default slot." #}
{# @prop variant:select['neutral','primary','secondary','accent','info','success','warning','error'] | description:"Colour variant. Leave empty to inherit the text colour." #}
{# @prop hover:boolean | description:"Underline the link only on hover." #}
{# @prop class:text | description:"Extra classes added to the link." #}
{# @slot — Content shown after the text. #}
Laid out to emit no whitespace around the element, with no final newline:
see "Components used inside a sentence" in CONTRIBUTING.md.
{% endcomment %}{{ text }}{{ slot }}