Open twjeffery opened 6 months ago
I am thinking if we can create/should create a new component such as goa-link
It can be used as:
<goa-link href="#" target="_blank" size="sm" icon="copy">Some text or even a slot</goa-link>
It can even have a leading icon, or trailing icon. Example is:
Consider about accessibility, when href is there, we can add role
according to this document https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a#attributes
We have a "text link" component in design, it seems like it may also be useful for development.
Use case:
Acceptance Criteria
goa-link
component createdleadingIcon
andtrailingIcon
propertiessize
property to determine icon and text size (and gap spacing)slot
for link inclusion