gentleface

Gentleface › Arrows › external-link

external-link icon

External link: external link, open in new, open externally, open in new tab. Drawn on the 16 px grid. Free SVG, PNG and code, MIT licensed. Part of the free toolbar icon set.

Animated external-link-out · line-round

The diagonal arrow leaves through the gap in the frame, past the corner. A new one grows out of the middle of the box.

Download SVG

Native SVG animation, with no CSS or script. It loops by itself. Inline it to take the text color: in an <img> it draws black. To play it once on hover or click, run 0.25 s to 1.8 s. Examples and helper.

Code line-round

SVG
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16" fill="currentColor" aria-hidden="true"><path d="M3.293 3.293C3.098 3.488 3 3.724 3 4L3 12C3 12.276 3.098 12.512 3.293 12.707C3.488 12.902 3.724 13 4 13L12 13C12.276 13 12.512 12.902 12.707 12.707C12.902 12.512 13 12.276 13 12L13 10.5C13 10.359 13.048 10.241 13.144 10.144C13.241 10.048 13.359 10 13.5 10C13.641 10 13.759 10.048 13.856 10.144C13.952 10.241 14 10.359 14 10.5L14 12C14 12.254 13.953 12.5 13.86 12.736C13.758 12.993 13.609 13.219 13.414 13.414C13.219 13.609 12.993 13.758 12.736 13.86C12.5 13.953 12.254 14 12 14L4 14C3.746 14 3.5 13.953 3.264 13.86C3.007 13.758 2.781 13.609 2.586 13.414C2.391 13.219 2.242 12.993 2.14 12.736C2.047 12.5 2 12.254 2 12L2 4C2 3.746 2.047 3.5 2.14 3.264C2.242 3.007 2.391 2.781 2.586 2.586C2.781 2.391 3.007 2.242 3.264 2.14C3.5 2.047 3.746 2 4 2L5.5 2C5.641 2 5.759 2.048 5.856 2.144C5.952 2.241 6 2.359 6 2.5C6 2.641 5.952 2.759 5.856 2.856C5.759 2.952 5.641 3 5.5 3L4 3C3.724 3 3.488 3.098 3.293 3.293ZM13.856 2.144C13.952 2.241 14 2.359 14 2.5L14 7.5C14 7.641 13.952 7.759 13.856 7.856C13.759 7.952 13.641 8 13.5 8C13.359 8 13.241 7.952 13.144 7.856C13.048 7.759 13 7.641 13 7.5L13 3.707L7.854 8.854C7.756 8.951 7.638 9 7.5 9C7.362 9 7.244 8.951 7.146 8.854C7.047 8.754 6.997 8.636 6.997 8.5C6.997 8.364 7.047 8.246 7.146 8.146L12.293 3L8.5 3C8.359 3 8.241 2.952 8.144 2.856C8.048 2.759 8 2.641 8 2.5C8 2.359 8.048 2.241 8.144 2.144C8.241 2.048 8.359 2 8.5 2L13.5 2C13.641 2 13.759 2.048 13.856 2.144Z"/></svg>
React
// Gentleface "external-link" (line-round), MIT. https://gentleface.com/icons/external-link
import type { SVGProps } from 'react';

export function ExternalLinkIcon(props: SVGProps<SVGSVGElement>) {
  return (
    <svg xmlns="http://www.w3.org/2000/svg" width={16} height={16} viewBox="0 0 16 16" fill="currentColor" aria-hidden="true" {...props}>
      <path d="M3.293 3.293C3.098 3.488 3 3.724 3 4L3 12C3 12.276 3.098 12.512 3.293 12.707C3.488 12.902 3.724 13 4 13L12 13C12.276 13 12.512 12.902 12.707 12.707C12.902 12.512 13 12.276 13 12L13 10.5C13 10.359 13.048 10.241 13.144 10.144C13.241 10.048 13.359 10 13.5 10C13.641 10 13.759 10.048 13.856 10.144C13.952 10.241 14 10.359 14 10.5L14 12C14 12.254 13.953 12.5 13.86 12.736C13.758 12.993 13.609 13.219 13.414 13.414C13.219 13.609 12.993 13.758 12.736 13.86C12.5 13.953 12.254 14 12 14L4 14C3.746 14 3.5 13.953 3.264 13.86C3.007 13.758 2.781 13.609 2.586 13.414C2.391 13.219 2.242 12.993 2.14 12.736C2.047 12.5 2 12.254 2 12L2 4C2 3.746 2.047 3.5 2.14 3.264C2.242 3.007 2.391 2.781 2.586 2.586C2.781 2.391 3.007 2.242 3.264 2.14C3.5 2.047 3.746 2 4 2L5.5 2C5.641 2 5.759 2.048 5.856 2.144C5.952 2.241 6 2.359 6 2.5C6 2.641 5.952 2.759 5.856 2.856C5.759 2.952 5.641 3 5.5 3L4 3C3.724 3 3.488 3.098 3.293 3.293ZM13.856 2.144C13.952 2.241 14 2.359 14 2.5L14 7.5C14 7.641 13.952 7.759 13.856 7.856C13.759 7.952 13.641 8 13.5 8C13.359 8 13.241 7.952 13.144 7.856C13.048 7.759 13 7.641 13 7.5L13 3.707L7.854 8.854C7.756 8.951 7.638 9 7.5 9C7.362 9 7.244 8.951 7.146 8.854C7.047 8.754 6.997 8.636 6.997 8.5C6.997 8.364 7.047 8.246 7.146 8.146L12.293 3L8.5 3C8.359 3 8.241 2.952 8.144 2.856C8.048 2.759 8 2.641 8 2.5C8 2.359 8.048 2.241 8.144 2.144C8.241 2.048 8.359 2 8.5 2L13.5 2C13.641 2 13.759 2.048 13.856 2.144Z" />
    </svg>
  );
}
Vue
Vue: see /icons/external-link.md
Svelte
Svelte: see /icons/external-link.md
HTML img
HTML img: see /icons/external-link.md
CSS
CSS: see /icons/external-link.md
Data URL
Data URL: see /icons/external-link.md
Sprite
Sprite: see /icons/external-link.md
SwiftUI
SwiftUI: see /icons/external-link.md
Compose
Compose: see /icons/external-link.md
Android XML
Android XML: see /icons/external-link.md
Flutter
Flutter: see /icons/external-link.md

Each icon is drawn on the 16 px grid, and most also on the 20 and 24 px grids (at 24 in three weights: light 1 px, regular 1.5 px, bold 2 px). Show the drawing made for your size, or an exact multiple of it, on whole pixels: 16 for 16 and 32 px, 20 for 20 and 40, 24 for 24 and 48. A size in between or a fractional position blurs it. The code on each icon page is the 16 px drawing, an SVG with fill="currentColor"; the icon page's downloads follow its Grid switch, and npm has the 20 and 24 px drawings too. The snippets are decorative (aria-hidden). For an icon that carries meaning on its own, such as an icon-only button, label the button, or give the SVG role="img" and an aria-label. More in how to use.

With npm: import { ExternalLinkIcon } from '@gentleface/react'; (setup).

Meaning

Use it for
external link, open in new, open externally, open in new tab, open in new window, outbound link
Alternatives
  • arrow-up-right: a compact link chip without the box (M3 arrow_outward)
  • link: a hyperlink or a copy-link action (link)
Don’t confuse with
  • share: share sends content to another app or person (share)
  • share-up: the iOS share sheet, a box with an arrow out of the top; it is not a link
Also fits
  • link: a link that opens outside the app or in a new tab
  • outward: a link that opens outside the app (external-link); M3 draws it as arrow_outward, gentleface as the box with an arrow
Tags
link, external, new-window, open, outbound
Category
Arrows
Component name
ExternalLinkIcon
History
  • added
  • released in 0.1.0
  • 20 px drawn, 24 px drawn
Since
version 0.1.0

Family 39

More arrows icons

For agents

Metadata: /icons/external-link.json · Markdown: /icons/external-link.md · SVG: https://gentleface.com/svg/{style}/16/external-link.svg · PNG: https://gentleface.com/png/{style}/{16|32|48}/external-link.png