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
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 | Description | Default |
---|---|---|---|
colorScheme | string | - | |
isExternal | boolean | If `true`, the link will open in new tab | - |
orientation | "horizontal" | "vertical" | - | |
size | string | - | |
styleConfig | Record<string, any> | - | |
variant | string | - |