Skip to main content

Anatomy

The Link consists of two primary elements that work together to navigate users to another webpage, document, or section.
Link
anatomy
  1. Text label
  2. Open in new / external icon

Options

The Link supports multiple appearances and external link configurations to accommodate various navigation scenarios.
Link options
appearances
AppearanceWhen to use
PrimaryFor prominent, important links on the page.
SecondaryFor inline text that does not need a lot of prominence.
GhostFor standalone situations where a user can clearly understand it is a link.

With open in new Icon

Link options external
icon
When denoting that a link will open in a new tab, or when the link opens an external site, use the “open in new” icon, regardless of which appearance the link uses. The Link Button is a specialized Button component styled to look like a simple text link. It provides the visual appearance of a link with the correct HTML semantics of a button, making it ideal for actions that do not navigate to a new page. The Button Link is its reverse: a Button component that uses an anchor tag under the hood. Use it when an action involves navigation but you need a button’s visual style.

Behavior

The Link responds to user interaction with distinct visual states for different appearances.

Visual States

Link visual
primary
Link visual
secondary
Link Visual
Ghost

Usage Guidelines

Use the Link when navigating users to another webpage, document, or section.

When to Use

Links are typically used in navigation to new pages, new sites, moving to another element on the same page, emails, and phone numbers. The Link component in the design system is limited in scope to being a standalone component. Components that have similar navigational behaviors, such as a side nav, tabs, or footer links do not use this Link component, either under the hood or visually.

Alternatives

In general, Buttons are used to denote an action, while a Link is used to denote navigation. This distinction in practice is sometimes blurry.
When navigating
In general, Links are the preferred choice for navigating. Use a Button in these scenarios:
  • Use a Button when emphasis is needed. Sometimes a page’s call to action is navigating somewhere else.
  • Use a Button when navigation is mixed with actions.
With Actions
In general, Buttons are the preferred choice for actions. Use a Link when the action priority is low and space is tight.
With triggering overlays
Treat triggering an overlay UI like navigation.

How to Use

When a link goes to a site outside of the current domain, it should utilize the external icon, and also open in a new tab. This can be used with all link styles.
Link options external
icon
The underline variant of links is used when the link is part of a sentence or paragraph. When a link is a standalone element, omit the underline.
How to use link underline
example
Do
How to use link underline
example
Don’t
How to use link without underline
example
Do

Primary vs Secondary styling

Use the primary link style when attention should be called upon itself. Use the secondary link when there are many links on the page, or when less emphasis should be placed on the links. Use caution when mixing both styles in one area, and don’t use both in the same body of text.
How to use Link
secondary
Do
How to use Link
secondary
Do
How not to use Link secondary
example
Don’t

Content

Content within the Link should clearly communicate the destination and provide enough context for users to understand what to expect. Standalone links are written similarly to calls to action: They are not full sentences, have no punctuation except question marks, and use short action-oriented phrases. Users typically see links as optional or supplemental content because they often appear at the end of a sentence or paragraph. Links should never use “click here” or “here” as link text.
How to use standalone
Link
Do
How not to use Link
standalone
Don’t
The link should only include text that refers directly to the destination. Include enough context about the destination in the link text to allow the user to understand the value and know what to expect when they click. Links in sentences are part of a paragraph. Include enough context in the link text to communicate the value and expectation of the landing experience.
How to use Link in
sentences
Do
How not to use Link in
sentences
Don’t

Keyboard Interaction

Users can navigate the Link using standard keyboard controls.
KeyInteraction
EnterEngages the link and moves focus to the link target.

Accessibility

It is generally preferable the link does not use generic labels. If it does, an annotation for the link should be made in handoffs, either to a heading if one is available or as a custom label if there is not one.
Link accessibility
labelledby
When a link is generic and a headline (or table column) is available, associate it with the heading. In development, the link is given an aria-labelledby. Refer to W3C’s guidelines on how to implement this.
Link accessibility
label
When a link is generic and has no label available, annotate a custom label for the link for screenreaders. In development, the link is given an aria-label. Refer to W3C’s guidelines on how to implement this. For more guidance on link labels and context association, see link accessibility best practices.
Last modified on January 23, 2026