Link
Connect visitors to another page or more information with link styles and usage examples.
Examples
Breakpoints
Mobile
320pxMobile Lg
480pxTablet
640pxDesktop
1024pxThis is a text link on a light background.
This is a link to an external websiteExternal.
This is a link that opens in a new tabExternal, opens in a new tab.
This is a text link on a dark background.
This is an external text linkExternal, opens in a new tab on a dark background.
link-demo.tsx
Component API
Link is a styled native anchor. Supply an href and meaningful link text.
Link<a>
Accepts native anchor props and forwards its ref.
| Prop | Type | Default | Description |
|---|---|---|---|
variant | blue | light | blue | Selects the link color for the surrounding surface. |
isExternal | boolean | false | Adds an external-link icon. |
Accessibility
The external icon does not replace link text. Name the destination in the link content.