AlaskaAirlines / auro-hyperlink

Custom hyperlink element to connect webpages or data items to one another
https://auro.alaskaair.com/components/auro/hyperlink
Apache License 2.0
2 stars 2 forks source link

auro-hyperlink: CTA size #188

Closed braven112 closed 7 months ago

braven112 commented 8 months ago

Is your feature request related to a problem? Please describe.

Buttons and Hyperlink CTA's are different sizes and we would like to standardize these so that implmenters can use them as needed without having to customize them or get frustrated when having them side by side.

Describe the solution you'd like

Reduce the size of the hyperlink CTA to match the size of auro-button

Describe alternatives you've considered

Each time these are implemented the implementer could resize the hyperlink CTA with CSS

Additional context

Overall goal is to make buttons and hyperlink CTA's follow the same design patterns so implementers can use the appropriate component, use them together without any extra work.

Blueprint: https://www.figma.com/file/TSFOFDwWQxmpPpYQ2F06lH/Hyperlink?type=design&node-id=2233-2573&mode=design&t=Q8oscXA2ktquOAo9-0

Exit criteria

Hyperlink CTA matches the size of auro-button.

blackfalcon commented 8 months ago

Buttons and Hyperlink CTA's are different sizes and we would like to standardize these so that implmenters can use them as needed without having to customize them or get frustrated when having them side by side.

The size difference is intentional, not accidental.

Here is an article that supports what was decided https://www.isoftstoneinc.com/insights/call-to-action-links-are-not-buttons/

This really isn’t a question of how to identify your CTAs as links, but how to differentiate your CTAs from your buttons. A call to action needs to stand out, but it also needs to look different than buttons do.

blackfalcon commented 8 months ago

I would argue that what is missing is a sizing option of the CTA, not simply making the CTA look exactly like the form button.

braven112 commented 8 months ago

Yeah we want both.

leeejune commented 8 months ago

The small CTA button also does not match the exact specs on the blueprint nor does it match the slim version of auro-button.

Screenshot 2023-11-17 at 2 46 38 PM