The Link component styles anchor tags with default blue styling and hover text decoration. Link is used for destinations, or moving from one page to another.

In special cases where you'd like a <button> styled like a Link, use <Link as='button'>. Make sure to provide a click handler with onClick.

Default example

<Link mb={1} href="">Link</Link>

System props

Link components get COMMON and TYPOGRAPHY system props. Read our System Props doc page for a full list of available props.

Component props

hrefStringURL to be used for the Link
underlineBooleanfalseAdds underline to the Link
asString'a'Can be 'a', 'button', 'input', or 'summary'
Edit this page on GitHub