Gentleface › Actions › share
share icon
shareShare: share, social publishing. Drawn on the 16 px grid. Free SVG, PNG and code, MIT licensed. Part of the free toolbar icon set.
Animated share-arc · line-round
The arrow shoots out through the gap in the box and off the right edge, and the box recoils. A new head then rises from inside the box and arcs out along the curve, drawing its line.
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 2.15 s. Examples and helper.
Code line-round
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16" fill="currentColor" aria-hidden="true"><path d="M15.003 4.5C15.003 4.636 14.953 4.754 14.854 4.854L11.854 7.854C11.754 7.953 11.636 8.003 11.5 8.003C11.364 8.003 11.246 7.953 11.146 7.854C11.049 7.756 11 7.638 11 7.5C11 7.362 11.049 7.244 11.146 7.146L13.293 5L10.5 5C10.055 5 9.625 5.082 9.212 5.246C8.762 5.424 8.367 5.683 8.025 6.025C7.683 6.367 7.424 6.762 7.246 7.212C7.082 7.625 7 8.055 7 8.5L7 9.5C7 9.641 6.952 9.759 6.856 9.856C6.759 9.952 6.641 10 6.5 10C6.359 10 6.241 9.952 6.144 9.856C6.048 9.759 6 9.641 6 9.5L6 8.5C6 7.928 6.105 7.376 6.316 6.844C6.545 6.266 6.879 5.757 7.318 5.318C7.757 4.879 8.266 4.545 8.844 4.316C9.376 4.105 9.928 4 10.5 4L13.293 4L11.146 1.854C11.049 1.756 11 1.638 11 1.5C11 1.362 11.049 1.244 11.146 1.146C11.246 1.047 11.364 0.997 11.5 0.997C11.636 0.997 11.754 1.047 11.854 1.146L14.854 4.146C14.953 4.246 15.003 4.364 15.003 4.5ZM3.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.293Z"/></svg>
// Gentleface "share" (line-round), MIT. https://gentleface.com/icons/share
import type { SVGProps } from 'react';
export function ShareIcon(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="M15.003 4.5C15.003 4.636 14.953 4.754 14.854 4.854L11.854 7.854C11.754 7.953 11.636 8.003 11.5 8.003C11.364 8.003 11.246 7.953 11.146 7.854C11.049 7.756 11 7.638 11 7.5C11 7.362 11.049 7.244 11.146 7.146L13.293 5L10.5 5C10.055 5 9.625 5.082 9.212 5.246C8.762 5.424 8.367 5.683 8.025 6.025C7.683 6.367 7.424 6.762 7.246 7.212C7.082 7.625 7 8.055 7 8.5L7 9.5C7 9.641 6.952 9.759 6.856 9.856C6.759 9.952 6.641 10 6.5 10C6.359 10 6.241 9.952 6.144 9.856C6.048 9.759 6 9.641 6 9.5L6 8.5C6 7.928 6.105 7.376 6.316 6.844C6.545 6.266 6.879 5.757 7.318 5.318C7.757 4.879 8.266 4.545 8.844 4.316C9.376 4.105 9.928 4 10.5 4L13.293 4L11.146 1.854C11.049 1.756 11 1.638 11 1.5C11 1.362 11.049 1.244 11.146 1.146C11.246 1.047 11.364 0.997 11.5 0.997C11.636 0.997 11.754 1.047 11.854 1.146L14.854 4.146C14.953 4.246 15.003 4.364 15.003 4.5ZM3.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.293Z" />
</svg>
);
}Vue: see /icons/share.md
Svelte: see /icons/share.md
HTML img: see /icons/share.md
CSS: see /icons/share.md
Data URL: see /icons/share.md
Sprite: see /icons/share.md
SwiftUI: see /icons/share.md
Compose: see /icons/share.md
Android XML: see /icons/share.md
Flutter: see /icons/share.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 { ShareIcon } from '@gentleface/react'; (setup).
Meaning
- Use it for
- share, social publishing
- Alternatives
share-up: the iOS convention, arrow up out of an open box; use in iOS-styled productsmonitor-share: share your screenexport: write the data to a file or another format
- Don’t confuse with
upload: upload sends a file to a server; share sends to a person or app
- Also fits
- export: send to another app or person
- forward message: share to another app or person
- repost: share to another app or person
- Not for
- external link (use
external-link): share sends content to another app or person (share)
- external link (use
- Tags
- share, export, send, forward, arrow, box
- Category
- Actions
- Component name
ShareIcon- History
- added
- released in 0.1.0
- 20 px drawn, 24 px drawn
- Since
- version 0.1.0
Family 3
More actions icons
actual-size arrow-down-1-9 arrow-down-a-z arrow-down-clock arrow-down-z-a arrow-up-clock ban bolt bolt-alert bolt-check bolt-clock bolt-gear bolt-off bolt-pencil bolt-play bolt-plus · all actions icons
For agents
Metadata: /icons/share.json · Markdown: /icons/share.md · SVG: https://gentleface.com/svg/{style}/16/share.svg · PNG: https://gentleface.com/png/{style}/{16|32|48}/share.png