Skip to content
Sancho UI
Toggle dark mode
Getting started
Built with ☕ by
Ben McMahen

Link

A standard anchor element useful in body text.

Basic usage

Ut aute non deserunt non sunt.

<Text gutter={false} variant="paragraph">
  Ut aute non <Link href="#">deserunt</Link> non sunt.
</Text>

Using a custom component

You can pass in a custom component such as a Link from react-router.

import { Link } from 'react-router'

<Link component={Link} to='/some-url'>
  deserunt
</Link>

API

Link
children*ReactNode
The content of the link
componentReactType<any>
Use a custom component. E.g., ReactRouter Link