Skip to main content

ExternalLink

Use the ExternalLink component to link to resources outside the user's current Dynatrace environment, such as Dynatrace documentation, or third-party sites. It always opens in a new tab and displays an external link icon.

When to use

  • To link to any external resource that lives outside the current app. For example, supplementary, non-critical content that lets users explore a topic further. ExternalLink always opens in a new tab. This includes:
    • Linking to another environment, such as from ENV-ID.dynatrace.com to ENV-ID-2.dynatrace.com.
    • Linking to documentation, such as from ENV-ID.dynatrace.com to docs.dynatrace.com.
    • Linking to an external domain, such as from ENV-ID.dynatrace.com to anothercompany.com.

When not to use

  • When the information is critical, when users need to stay in their current flow, or when the destination isn't trustworthy or secure.
  • To navigate to another page within an app or view. Use Link instead.
  • To continue a user flow in another Dynatrace app. Use IntentButton instead.
  • To trigger actions or events. Use Button instead.

Side-by-side comparison: ExternalLink (with an external-link icon) for pages outside the app, Link for in-app navigation, Button for triggering actions, and IntentButton (with an app icon) for opening another app.

Side-by-side comparison: ExternalLink (with an external-link icon) for pages outside the app, Link for in-app navigation, Button for triggering actions, and IntentButton (with an app icon) for opening another app.

Content guidelines

Anatomy of an ExternalLink with two numbered callouts mapping to the parts described below: the link text and the ExternalLink icon that signals the destination is outside the app.

Anatomy of an ExternalLink with two numbered callouts mapping to the parts described below: the link text and the ExternalLink icon that signals the destination is outside the app.

  1. External link text (required)
  2. External link icon (required)

External links can be inline or standalone:

  • Inline links sit within a sentence or paragraph, usually for further reading or to provide additional context.
  • Standalone links appear on their own, separate from surrounding text. For example, a resource name like "Dynatrace Documentation" shown on its own.
  • Describe the destination environment, resource, or domain, so it makes sense on its own. Avoid generic link text such as "here", "this page", or "more".
  • Give each link unique text. Don't reuse the same link text for different links on the same page.
  • Don't use a raw URL as the label.
  • Keep it short. Remove unnecessary words such as "the", "a", or "an".
  • Use sentence case (capitalize only the first word and any proper nouns, such as brand names).
  • Link only the destination text, not the whole sentence.
  • Use external links sparingly. Too many links clutter a view and make it harder for users to find their next step.
  • Use patterns such as "Learn more about [topic]" or "Visit [resource name]".
  • When an external link ends a sentence, place the period directly after the ExternalLinkIcon with no space in between, and keep it outside the link so it isn't part of the underlined text. This differs from Button and IntentButton labels, which never take punctuation.

Example of a correct external link in a sentence, linking only the descriptive page "Ingest data into Dynatrace," within "Learn how to Ingest data into Dynatrace," and the incorrect example linking the whole sentence.

Example of a correct external link in a sentence, linking only the descriptive page "Ingest data into Dynatrace," within "Learn how to Ingest data into Dynatrace," and the incorrect example linking the whole sentence.

Example of a correct external link using descriptive text, "Dynatrace documentation," and an incorrect example using vague text, "Find out more here," that doesn't describe the destination.

Example of a correct external link using descriptive text, "Dynatrace documentation," and an incorrect example using vague text, "Find out more here," that doesn't describe the destination.

Always show the ExternalLinkIcon so users know the link leaves the current app and opens in a new tab.

For further guidance, see Link text in the Dynatrace Content Style Guide.

Still have questions?
Find answers in the Dynatrace Community