#Overview

A link is used to navigate between pages.

overview
  1. Link
  2. Link with icon before
  3. Link with icon after (external links only)

#When to use

  • To navigate between pages
  • To navigate to an external page

#Don’t use for

  • For more complex content, use a Selector

#Anatomy

#Color

color
  1. Galaxus
  2. Digitec

#Spacing

spacing

#Best practices

#The icon should communicate context

Do

A link’s icon should represent what a user will get when they click or tap on the link. When the link stands alone, the icon increases the visual impact without relying on a call-to-action button.

image-do

Don't

A link’s icon should not be unrelated to what the user will get when they click or tap on the link.

image-do

#External links open in a new tab

Do

Links should open in a new tab when navigating to an external page.

tooltip-do

Don't

Opening external links in a new window removes control from the user.

Frame 328

#Placement

Links are often placed either within or immediately after a sentence.

magazine-news

Links can be placed immediately after a heading, such as in the Order Details page.

order

We also use links to navigate to product types or to show further content, such as in a carousel. The “Recently viewed products” carousel above the footer has two links next to each other.

carousel

#States

#Default link

The following states are the same for a link with icon.

Galaxus

states-default-galaxus

Digitec

states-default-digitec
  1. Normal
  2. Hover
  3. Focus
  4. Focus-visible
  5. Active
  6. Disabled

#Main navigation link

Galaxus

states-main-nav-galaxus

Digitec

states-main-nav-digitec
  1. Normal
  2. Hover
  3. Focus
  4. Focus-visible
  5. Active

#Footer link

Galaxus

states-default-galaxus

Digitec

states-default-digitec
  1. Normal
  2. Hover
  3. Focus
  4. Focus-visible
  5. Active

#Minimum target size

We set minimum target sizes to comply with WCAG Target Size (Level AA):

  • On touch devices, links have an invisible 40 x 40px touch target.
  • For pointer devices (such as a mouse), links have an invisible 24 x 24px target. It is especially important for a list of links to be spaced appropriately to avoid overlapping touch targets.

Targets which are contained within one or more sentences (inline targets) are excluded from the target size requirements.

overview
  1. Touch target
  2. Pointer (mouse) target