gentleface

Gentleface › Layout & interface › pin

pin icon

Pin: pin, keep on top, pinned, pin to top. Drawn on the 16 px grid. Free SVG, PNG and code, MIT licensed. Part of the free toolbar icon set.

Animated pin-stick · line-round

The pin lifts out and tips back. It drops, the needle goes into the surface with a dent spreading beside it, and the pin comes back up a little and wobbles about its point until it stands still.

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="M1.5 14C1.362 14 1.244 13.951 1.146 13.854C1.047 13.754 0.997 13.636 0.997 13.5C0.997 13.364 1.047 13.246 1.146 13.146L3.793 10.5L1.146 7.854C1.049 7.756 1 7.638 1 7.5C1 7.359 1.048 7.241 1.144 7.144C1.241 7.048 1.359 7 1.5 7L3.5 7C3.754 7 3.998 6.951 4.233 6.854C4.467 6.757 4.674 6.619 4.854 6.439L6.793 4.5L6.646 4.354C6.538 4.245 6.453 4.12 6.392 3.979C6.326 3.826 6.293 3.667 6.293 3.5C6.293 3.333 6.326 3.174 6.392 3.021C6.453 2.88 6.538 2.755 6.646 2.646L7.146 2.146C7.319 1.974 7.516 1.84 7.74 1.743C7.982 1.638 8.236 1.586 8.5 1.586C8.764 1.586 9.018 1.638 9.26 1.743C9.484 1.84 9.681 1.974 9.854 2.146L12.854 5.146C13.026 5.319 13.16 5.516 13.257 5.74C13.362 5.982 13.414 6.236 13.414 6.5C13.414 6.764 13.362 7.018 13.257 7.26C13.16 7.484 13.026 7.681 12.854 7.854L12.354 8.354C12.245 8.462 12.12 8.547 11.979 8.608C11.826 8.674 11.667 8.707 11.5 8.707C11.333 8.707 11.174 8.674 11.021 8.608C10.88 8.547 10.755 8.462 10.646 8.354L10.5 8.207L8.561 10.146C8.381 10.326 8.243 10.533 8.146 10.767C8.049 11.002 8 11.246 8 11.5L8 13.5C8 13.638 7.951 13.756 7.854 13.854C7.754 13.953 7.636 14.003 7.5 14.003C7.364 14.003 7.246 13.953 7.146 13.854L4.5 11.207L1.854 13.854C1.756 13.951 1.638 14 1.5 14ZM7.222 10.385C7.37 10.028 7.58 9.713 7.854 9.439L9.793 7.5C9.988 7.305 10.224 7.207 10.5 7.207C10.776 7.207 11.012 7.305 11.207 7.5L11.354 7.646C11.394 7.687 11.443 7.707 11.5 7.707C11.557 7.707 11.606 7.687 11.646 7.646L12.146 7.146C12.325 6.968 12.414 6.752 12.414 6.5C12.414 6.248 12.325 6.032 12.146 5.854L9.146 2.854C8.968 2.675 8.752 2.586 8.5 2.586C8.248 2.586 8.032 2.675 7.854 2.854L7.354 3.354C7.313 3.394 7.293 3.443 7.293 3.5C7.293 3.557 7.313 3.606 7.354 3.646L7.5 3.793C7.695 3.988 7.793 4.224 7.793 4.5C7.793 4.776 7.695 5.012 7.5 5.207L5.561 7.146C5.287 7.42 4.972 7.63 4.615 7.778C4.258 7.926 3.886 8 3.5 8L2.707 8L7 12.293L7 11.5C7 11.114 7.074 10.742 7.222 10.385Z"/></svg>
React
// Gentleface "pin" (line-round), MIT. https://gentleface.com/icons/pin
import type { SVGProps } from 'react';

export function PinIcon(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="M1.5 14C1.362 14 1.244 13.951 1.146 13.854C1.047 13.754 0.997 13.636 0.997 13.5C0.997 13.364 1.047 13.246 1.146 13.146L3.793 10.5L1.146 7.854C1.049 7.756 1 7.638 1 7.5C1 7.359 1.048 7.241 1.144 7.144C1.241 7.048 1.359 7 1.5 7L3.5 7C3.754 7 3.998 6.951 4.233 6.854C4.467 6.757 4.674 6.619 4.854 6.439L6.793 4.5L6.646 4.354C6.538 4.245 6.453 4.12 6.392 3.979C6.326 3.826 6.293 3.667 6.293 3.5C6.293 3.333 6.326 3.174 6.392 3.021C6.453 2.88 6.538 2.755 6.646 2.646L7.146 2.146C7.319 1.974 7.516 1.84 7.74 1.743C7.982 1.638 8.236 1.586 8.5 1.586C8.764 1.586 9.018 1.638 9.26 1.743C9.484 1.84 9.681 1.974 9.854 2.146L12.854 5.146C13.026 5.319 13.16 5.516 13.257 5.74C13.362 5.982 13.414 6.236 13.414 6.5C13.414 6.764 13.362 7.018 13.257 7.26C13.16 7.484 13.026 7.681 12.854 7.854L12.354 8.354C12.245 8.462 12.12 8.547 11.979 8.608C11.826 8.674 11.667 8.707 11.5 8.707C11.333 8.707 11.174 8.674 11.021 8.608C10.88 8.547 10.755 8.462 10.646 8.354L10.5 8.207L8.561 10.146C8.381 10.326 8.243 10.533 8.146 10.767C8.049 11.002 8 11.246 8 11.5L8 13.5C8 13.638 7.951 13.756 7.854 13.854C7.754 13.953 7.636 14.003 7.5 14.003C7.364 14.003 7.246 13.953 7.146 13.854L4.5 11.207L1.854 13.854C1.756 13.951 1.638 14 1.5 14ZM7.222 10.385C7.37 10.028 7.58 9.713 7.854 9.439L9.793 7.5C9.988 7.305 10.224 7.207 10.5 7.207C10.776 7.207 11.012 7.305 11.207 7.5L11.354 7.646C11.394 7.687 11.443 7.707 11.5 7.707C11.557 7.707 11.606 7.687 11.646 7.646L12.146 7.146C12.325 6.968 12.414 6.752 12.414 6.5C12.414 6.248 12.325 6.032 12.146 5.854L9.146 2.854C8.968 2.675 8.752 2.586 8.5 2.586C8.248 2.586 8.032 2.675 7.854 2.854L7.354 3.354C7.313 3.394 7.293 3.443 7.293 3.5C7.293 3.557 7.313 3.606 7.354 3.646L7.5 3.793C7.695 3.988 7.793 4.224 7.793 4.5C7.793 4.776 7.695 5.012 7.5 5.207L5.561 7.146C5.287 7.42 4.972 7.63 4.615 7.778C4.258 7.926 3.886 8 3.5 8L2.707 8L7 12.293L7 11.5C7 11.114 7.074 10.742 7.222 10.385Z" />
    </svg>
  );
}
Vue
Vue: see /icons/pin.md
Svelte
Svelte: see /icons/pin.md
HTML img
HTML img: see /icons/pin.md
CSS
CSS: see /icons/pin.md
Data URL
Data URL: see /icons/pin.md
Sprite
Sprite: see /icons/pin.md
SwiftUI
SwiftUI: see /icons/pin.md
Compose
Compose: see /icons/pin.md
Android XML
Android XML: see /icons/pin.md
Flutter
Flutter: see /icons/pin.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 { PinIcon } from '@gentleface/react'; (setup).

Meaning

Use it for
pin, keep on top, pinned, pin to top, pinned clip, always on top
Alternatives
Don’t confuse with
  • map-pin: map-pin means a location
  • bookmark: the bookmark motif does not mean keep-on-top
Also fits
  • add location: pin an item to keep it on top
Not for
  • location (use map-pin): the pin motif does not mean location
  • bookmark (use bookmark): pin keeps an item on top; it does not save it for later
Tags
pin, pushpin, thumbtack, keep, stick, attach, favorite
Category
Layout & interface
Component name
PinIcon
History
  • added
  • released in 0.1.0
  • 20 px drawn, 24 px drawn
Since
version 0.1.0

Family 93

More layout & interface icons

For agents

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