Link

A link takes people to a new location in the app or another website.
Link is for use in text. If you need a non-text element to behave like a link, such as a card, use the anchor primitive.

Default

The default appearance of a link.

Subtle

Use a subtle link if the default link appearance is too prominent. There is no underline in resting state, but one appears on hover.

Ensure the surrounding context makes it clear that the link is interactive, such as in navigation or breadcrumbs. Avoid using subtle links in body copy because they're hard to distinguish from the surrounding text.

Inverse

Use an inverse link when displaying it on a bold background.

Visited

Links that have been visited will display in a different color. This is not supported for inverse links due to color contrast limitations.

It's important to indicate when links open in new windows or tabs. An icon will display next to the link, as well as visually hidden text "(opens new window)" for screen reader users.

Opening links in a new window can be disorienting for people, so only do it when necessary. For more information see 'G200: Opening new windows and tabs from a link only when necessary', (opens new window).

In body text

Links work in body copy, and will wrap onto new lines if necessary.

When setting up a new project, start by reviewing the project configuration guide. Team members can then invite collaborators and set permissions from the project settings page. For advanced configuration, refer to the Confluence space admin documentation, (opens new window) which opens in a new window.

Inheriting font styles

Links will inherit font styles of surrounding text.

The link component inherits font styles

HTML attributes

Link passes through all valid HTML attributes to the underlying <a> element.

Link supports automatic configuration of router link components through the AppProvider. Here's an example of the router link configuration for the anchor primitive.

Event tracking

Link has utilities to make tracking events easier. Here's an example of tracking events with the anchor primitive.

Was this page helpful?
We use this feedback to improve our documentation.
© 2026 AtlassianTrademark, (opens new window)Privacy, (opens new window)License