Links

Text links for prose and navigation, with colour, arrow, external and raised variants.

Inline Link

Read the getting started guide to install SoftUI, then browse the component gallery for ready-made patterns.

<p style="max-width:560px;">Read the <a class="sui-link" href="#">getting started guide</a> to install SoftUI, then browse the <a class="sui-link" href="#">component gallery</a> for ready-made patterns.</p>

Subtle & Muted

Questions? See the FAQ or contact support.

Prices exclude tax. Terms apply.

<p style="max-width:560px;">Questions? See the <a class="sui-link-subtle" href="#">FAQ</a> or <a class="sui-link-subtle" href="#">contact support</a>.</p>
<p style="max-width:560px;"><small>Prices exclude tax. <a class="sui-link-muted" href="#">Terms apply</a>.</small></p>

All Colors

<a class="sui-link" href="#">Primary</a>
<a class="sui-link sui-link-success" href="#">Success</a>
<a class="sui-link sui-link-danger" href="#">Danger</a>
<a class="sui-link sui-link-warning" href="#">Warning</a>
<a class="sui-link sui-link-info" href="#">Info</a>

Hover Underline

Underlined only on hover; for nav lists, not prose.

<nav style="display:flex;flex-wrap:wrap;gap:24px;">
  <a class="sui-link-subtle sui-link-underline-hover" href="#">Docs</a>
  <a class="sui-link-subtle sui-link-underline-hover" href="#">Components</a>
  <a class="sui-link-subtle sui-link-underline-hover" href="#">Theming</a>
  <a class="sui-link-subtle sui-link-underline-hover" href="#">Changelog</a>
</nav>

Arrow Link

<a class="sui-link-arrow" href="#">Read more</a>
<a class="sui-link-arrow sui-link-success" href="#">View report</a>
<a class="sui-link-arrow sui-link-danger" href="#">Review errors</a>
<a class="sui-link-arrow sui-link-info" href="#">Learn more</a>
<span dir="rtl"><a class="sui-link-arrow" href="#">Read more (RTL)</a></span>

External Link

Source code is on GitHub and the package is on npm.

<p style="max-width:560px;">Source code is on <a class="sui-link sui-link-external" href="https://github.com/" target="_blank" rel="noopener">GitHub</a> and the package is on <a class="sui-link sui-link-external" href="https://www.npmjs.com/" target="_blank" rel="noopener">npm</a>.</p>

Raised

<a class="sui-link-raised" href="#">Docs</a>
<a class="sui-link-raised sui-link-arrow" href="#">Get started</a>
<a class="sui-link-raised sui-link-external" href="https://github.com/" target="_blank" rel="noopener">GitHub</a>
<a class="sui-link-raised sui-link-success" href="#">Changelog</a>
<a class="sui-link-raised sui-link-danger" href="#">Report a bug</a>

Sizes

<a class="sui-link-arrow sui-link-sm" href="#">Small</a>
<a class="sui-link-arrow" href="#">Default</a>
<a class="sui-link-arrow sui-link-lg" href="#">Large</a>

<a class="sui-link-raised sui-link-sm" href="#">Small</a>
<a class="sui-link-raised" href="#">Default</a>
<a class="sui-link-raised sui-link-lg" href="#">Large</a>

Reference

Class / TokenDescription
sui-linkUnderlined link for running text (WCAG 1.4.1); a bare <a> is coloured only.
sui-link-subtleInherits the text colour; standalone, no sui-link needed.
sui-link-mutedMuted text colour; standalone, no sui-link needed.
sui-link-success, sui-link-danger, sui-link-warning, sui-link-infoColour modifiers; pair with sui-link, sui-link-arrow or sui-link-raised.
sui-link-underline-hoverUnderline on hover only; for nav lists, not prose.
sui-link-arrowTrailing arrow; no underline at rest, underlined on hover; nudges on hover (instantly with reduced motion); points left in RTL.
sui-link-externalTrailing ↗ glyph, hidden from screen readers; mirrored in RTL. Do not combine with sui-link-arrow.
sui-link-sm13px text; on sui-link-raised, a smaller pill.
sui-link-lg18px text; on sui-link-raised, a larger pill.
sui-link-raisedPill link with raised depth, inset when pressed.
--sui-linkLink colour. Default var(--sui-primary-text), 4.5:1 in light and dark. See Theming.
--sui-link-hoverHover colour. Default var(--sui-primary-text-hover).
--sui-link-underlineResting underline colour. Default currentColor at 40%.

Delete this item?

This action cannot be undone. This will permanently delete the item and remove all associated data.