Anchors
Usage
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
property | propType | required | default | description |
---|---|---|---|---|
size | string | - | "lg" | Sets the anchor link to either xs, xm, md or lg |
color | string | - | "dark" | Sets the anchor link color to either light or dark |
icon | string | - | null | Displays an icon next to the anchor link |
float | string | - | "left" | the position of the icon to either left or right of the link text |
href | string | - | null | the url the anchor links to or the javascript that fires when the link is clicked |