Skip to main content
  1. Docs
  2. Components
  3. 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

When to use

Use it for
  • Going somewhere: a page, a section, a document.
  • Another site, opening a new tab.
Not for

02

Anatomy

  1. 1link<a>Underlined, in the link colour.
  2. 2link-icon<svg>With external: the arrow, tied to the last word; it mirrors right to left.

03

Do and don't

Say where it goes
DoThe destination in the words: read alone, it still makes sense.
Don't"Click here": a list of links that all say the same.
Links go, buttons do
DoA Button for an action that changes data.
Don'tA link that deletes.

04

Content

  • Link the words that say where: passkey setup guide.
  • No "click here", no bare URLs in sentences.
  • external for another site, so the new tab is announced.
Next — LinkAPI