Links are accessible elements used primarily for navigation. This component is
styled to resemble a hyperlink and semantically renders an <a>.
Did you know that links can live inline with text
When add a link to a group of content or container, it's recommended to avoid wrapping with a link
To solve this, use the Link component with property breakout instead. It'll
wrap the container in a clickable overlay and maintaining semantic HTML.
To use the Link with a routing library like Reach Router or React Router, all
you need to do is pass the as prop. It'll replace the rendered a tag with
Reach's Link.
The Link component composes the Box component.
| Name | Type | Default | Description |
|---|---|---|---|
isExternal | boolean | If true, the link will open in new tab. | |
onClick | function | Function called when the link is clicked. |