TextLink
Make a link distinguishable within running text.
alpina-ui/portal/text-linkSee the Swiss graphic design research for the sources behind this project.
Usage notes
Use the action variant for a prominent navigation link. Inline focus rings follow the foreground color, including on inverse surfaces.
When to use
Lead to a related document or a stable URL from a paragraph of running text.
When to avoid
Use Button when the operation submits or changes the current record without navigating.
Accessibility
Make the link purpose clear in context and retain its visual indicator on keyboard focus. Describe downloads or new windows where readers need to know.
| Key | Action |
|---|---|
| Tab / Shift+Tab | Move between links in document order. |
| Enter | Follow the focused link. |
Content
Use the destination’s actual name in the link. Keep punctuation outside the link unless it belongs to the title.
- Use
- Download the tariff schedule (PDF)
- Avoid
- Click here
Copy in four languages
- German
- Gebührentarif herunterladen (PDF)33 characters
- French
- Télécharger le tarif (PDF)26 characters
- Italian
- Scaricare il tariffario (PDF)29 characters
- Romansh
- Telechargiar il tariffari (PDF)31 characters
npx --no-install alpina add text-link