Skip to main content

Anchors

Usage​

Anchors expose the content and functions a user can access via descriptive text.

Common Characteristics​

All links have a specific color that clearly contrasts with other text elements and the background color.

Usage Guidelines​

Anchors should use descriptive text to help guide the user to the desired content or function. Never use generic text like “click here”.

Normal Anchors​

Live Editor
Result
Loading...

Medium Anchors​

Live Editor
Result
Loading...

Small Anchors​

Live Editor
Result
Loading...

Legal/Smallest Anchors​

Live Editor
Result
Loading...

With Icons​

Live Editor
Result
Loading...
Live Editor
Result
Loading...

Anchors can have a single left or right icon. Never two icons.

Code​

Default​

Live Editor
Result
Loading...

Size​

Live Editor
Result
Loading...

Size, Color, and Icons​

Live Editor
Result
Loading...

Anchor Props​

propertypropTyperequireddefaultdescription
sizestring-"lg"Sets the anchor link to either xs, xm, md or lg
colorstring-"dark"Sets the anchor link color to either light or dark
iconstring-nullDisplays an icon next to the anchor link
floatstring-"left"the position of the icon to either left or right of the link text
hrefstring-nullthe url the anchor links to or the javascript that fires when the link is clicked