Link
Color
Class | Property | Color token |
---|---|---|
.bx--link | color | $link-01 |
Interactive states
Class | Property | Color token |
---|---|---|
:hover | text color | $hover-primary-text |
:active | text color | $text-01 |
:focus | border | $focus |
:visited | text color | $visited-link |
:disabled | text color | $disabled-02 |
![Example of enabled, hover, and disabled link states Example of enabled, hover, and disabled link states](/static/9d5315b85c2b722b73952f10347c074d/3cbba/link-style-1.png)
Normal, hover, disabled link states
Typography
Links should not exceed three words.
Property | Font-size (px/rem) | Font-weight | Text style |
---|---|---|---|
.bx--link | 14 / 0.875 | Regular / 400 | $body-short-01 |
Structure
Recommended
Links can be grouped horizontally or vertically and must be underlined. The following specs are not built into the Link component but are recommended by design as the proper distance between grouped Links.
Class | Property | px / rem | Spacing token |
---|---|---|---|
.bx--link | padding-right | 16 / 1 | $spacing-05 |
![Link structure and spacing measurements Link structure and spacing measurements](/static/f646f0c33af35ddb8c5aeb920b82e191/3cbba/link-style-2.png)
Structure and spacing measurements for Link | px / rem