diff --git a/docs/src/pages/components/Link.svx b/docs/src/pages/components/Link.svx index d6df7519..0241f069 100644 --- a/docs/src/pages/components/Link.svx +++ b/docs/src/pages/components/Link.svx @@ -7,6 +7,16 @@ Carbon Design System +### Target _blank + +Setting `target` to `"_blank"` opens the link in a new tab. + +If `target="_blank"`, the `Link` component will automatically set `rel="noopener noreferrer"` to guard against [potential cross-origin security exploits](https://web.dev/external-anchors-use-rel-noopener/). + +You can override the `rel` attribute with a custom value. + +Carbon Design System + ### Inline variant