vira
Version:
A simple and highly versatile design system using element-vir.
37 lines (36 loc) • 1.26 kB
JavaScript
import { html } from 'element-vir';
import { viraIconCssVars } from '../../icon-css-vars.js';
import { defineIcon } from '../../icon-svg.js';
/**
* An external link icon.
*
* @category Icon
* @category SVG
* @see https://electrovir.github.io/vira/book/icons/externallink24icon
*/
export const ExternalLink24Icon = defineIcon({
name: 'ExternalLink24Icon',
svgTemplate: html `
<svg
xmlns="http://www.w3.org/2000/svg"
xml:space="preserve"
style="fill-rule:evenodd;clip-rule:evenodd;stroke-linejoin:round"
viewBox="0 0 24 24"
width="24"
height="24"
>
<path
d="M11 7H6a2 2 0 0 0-2 2v9q.2 1.8 2 2h9a2 2 0 0 0 2-2v-5"
stroke=${viraIconCssVars['vira-icon-stroke-color'].value}
stroke-width=${viraIconCssVars['vira-icon-stroke-width'].value}
fill=${viraIconCssVars['vira-icon-fill-color'].value}
/>
<path
d="M10 14 20 4m-5 0h5v5"
stroke=${viraIconCssVars['vira-icon-stroke-color'].value}
stroke-width=${viraIconCssVars['vira-icon-stroke-width'].value}
fill="none"
/>
</svg>
`,
});