Pin icon
rivet-icons:pin
The Pin icon (rivet-icons:pin) is a free SVG icon from the Rivet Icons set by Indiana University. It is drawn on a 24 × 24 grid. Rivet Icons are released under the BSD 3-Clause 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
- Rivet Icons
- Author
- Indiana University
- License
- BSD-3-Clause
- Size
- 24 × 24
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="currentColor" d="M3 0h10v1c0 1.173-.294 2.075-.606 2.697a5 5 0 0 1-.394.656v2.175A6 6 0 0 1 14 11v1H9v3a1 1 0 1 1-2 0v-3H2v-1c0-1.778.774-3.375 2-4.472V4.353a5 5 0 0 1-.394-.656C3.294 3.075 3 2.173 3 1zm2.11 2c.076.332.183.6.284.803a2.7 2.7 0 0 0 .316.492l.006.006l.284.285v3.913l-.4.3A4 4 0 0 0 4.127 10h7.748A4 4 0 0 0 10.4 7.8l-.4-.3V3.585l.284-.284l.006-.007a2.7 2.7 0 0 0 .315-.492c.102-.204.209-.47.285-.803z"/></svg>How to use the Pin icon
React
import { Icon } from "@iconify/react";
<Icon icon="rivet-icons:pin" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="rivet-icons:pin" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="rivet-icons:pin" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[rivet-icons--pin]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/rivet-icons -->
<div class="i-rivet-icons:pin"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="rivet-icons:pin"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/rivet-icons/pin.svg" alt="Pin icon" width="24" height="24">Related icons in Rivet Icons
Pin icon in other icon sets
Pin icon FAQ
Is the Pin icon free for commercial use?
Yes. Rivet Icons are released under the BSD 3-Clause license, which allows use in personal and commercial projects.
How do I use the Pin icon in React?
Install @iconify/react and render <Icon icon="rivet-icons:pin" />, or use “Copy code” on this page to get a standalone React component.
How do I add the Pin icon to a web page?
Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/rivet-icons/pin.svg" alt="Pin icon">, or paste the SVG code inline to style it with CSS.