Skip to content

Are internal links that open in a new tab considered external anchors? #1645

Answered by gloriliale
rosemaryluo asked this question in Q&A
Discussion options

You must be logged in to vote

Hi Rosemary, thanks for asking!

When the link is for an external page (not in the same domain), our Anchor component opens that in a new tab by default, though that functionality can be overriden. The icon added from the showExternal prop is used for indicating you'll be going to an external page.

If you have a link that stays in the same domain (not an external link) but want it to open in a new tab, we'd recommend stating that in/around the anchor, depending on the context it's in. For example, having the anchor say "[Link] (opens in a new tab)".

Hopefully that distinction helps. Feel free to give more detail about your specific situation if you'd like more support!

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@rosemaryluo
Comment options

@serifluous
Comment options

@rosemaryluo
Comment options

Answer selected by gloriliale
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants