- Docs
- Components
- Type
Link
Navigation to a page, a section, a file or a site. An action that changes data is a Button.
- Import
- @qeetrix/react
- Status
- StableSince 0.0.2
- Renders
<a>Server-rendered- Tested
- WCAG 2.2 AAaxe on every pull request
01
In a sentence
Inline: a long link wraps with its sentence.
Read the passkey setup guide for administrators and their teams before you turn them on.
<Text>Read the <Link href="/docs/passkeys">passkey setup guide</Link> before you turn them on.</Text>02
Tones
default, the link colour; subtle for footers and metadata; inherit takes the text's.
<Link href="/privacy" tone="subtle">Privacy</Link>03
Another site
external: a new tab, rel="noopener noreferrer", an arrow on the last word, and "(opens in a new tab)" for screen readers.
<Link href="https://www.w3.org/TR/webauthn-3/" external>The WebAuthn specification</Link>