Share 2 icon
radix-icons:share-2
The Share 2 icon (radix-icons:share-2) is a free SVG icon from the Radix Icons set by WorkOS. It is drawn on a 15 × 15 grid. Radix Icons are released under the MIT license, which allows use in personal and commercial projects. Copy it as SVG, JSX, Vue or Svelte code, or download the SVG file.
- Icon set
- Radix Icons
- Author
- WorkOS
- License
- MIT
- Size
- 15 × 15
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="15" height="15" viewBox="0 0 15 15"><path fill="currentColor" d="M2 5.5A1.5 1.5 0 0 1 3.5 4h1.25a.5.5 0 0 1 0 1H3.5a.5.5 0 0 0-.5.5v6a.5.5 0 0 0 .5.5h8a.5.5 0 0 0 .5-.5v-6a.5.5 0 0 0-.5-.5h-1.25a.5.5 0 0 1 0-1h1.25A1.5 1.5 0 0 1 13 5.5v6a1.5 1.5 0 0 1-1.5 1.5h-8A1.5 1.5 0 0 1 2 11.5zm2.932-2.432a.45.45 0 0 1-.058-.566l.058-.07l2.25-2.25a.45.45 0 0 1 .636 0l2.25 2.25a.45.45 0 0 1-.636.636L8 1.637V8.5a.5.5 0 0 1-1 0V1.637L5.568 3.068l-.07.058a.45.45 0 0 1-.566-.058"/></svg>How to use the Share 2 icon
React
import { Icon } from "@iconify/react";
<Icon icon="radix-icons:share-2" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="radix-icons:share-2" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="radix-icons:share-2" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[radix-icons--share-2]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/radix-icons -->
<div class="i-radix-icons:share-2"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="radix-icons:share-2"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/radix-icons/share-2.svg" alt="Share 2 icon" width="24" height="24">Related icons in Radix Icons
Share 2 icon in other icon sets
Share 2 icon FAQ
Is the Share 2 icon free for commercial use?
Yes. Radix Icons are released under the MIT license, which allows use in personal and commercial projects.
How do I use the Share 2 icon in React?
Install @iconify/react and render <Icon icon="radix-icons:share-2" />, or use “Copy code” on this page to get a standalone React component.
How do I add the Share 2 icon to a web page?
Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/radix-icons/share-2.svg" alt="Share 2 icon">, or paste the SVG code inline to style it with CSS.