ICONYZ
English
Pin icon from IonIcons

Pin icon

ion:pin

The Pin icon (ion:pin) is a free SVG icon from the IonIcons set by Ben Sperry. It is drawn on a 512 × 512 grid. IonIcons 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
IonIcons
Author
Ben Sperry
License
MIT
Size
512 × 512
Download SVG

SVG code

<svg xmlns="http://www.w3.org/2000/svg" width="512" height="512" viewBox="0 0 512 512"><path fill="currentColor" d="M336 96a80 80 0 1 0-96 78.39v283.17a32.1 32.1 0 0 0 2.49 12.38l10.07 24a3.92 3.92 0 0 0 6.88 0l10.07-24a32.1 32.1 0 0 0 2.49-12.38V174.39A80.13 80.13 0 0 0 336 96m-56 0a24 24 0 1 1 24-24a24 24 0 0 1-24 24"/></svg>

How to use the Pin icon

React

import { Icon } from "@iconify/react";

<Icon icon="ion:pin" width="24" />

Vue

<script setup>
import { Icon } from "@iconify/vue";
</script>

<template>
  <Icon icon="ion:pin" width="24" />
</template>

Svelte

<script>
  import Icon from "@iconify/svelte";
</script>

<Icon icon="ion:pin" width="24" />

Tailwind CSS

<!-- @iconify/tailwind plugin -->
<span class="icon-[ion--pin]"></span>

UnoCSS

<!-- @unocss/preset-icons + @iconify-json/ion -->
<div class="i-ion:pin"></div>

Web component

<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>

<iconify-icon icon="ion:pin"></iconify-icon>

HTML image

<img src="https://iconyz.com/api/public/svg/ion/pin.svg" alt="Pin icon" width="24" height="24">

Related icons in IonIcons

Pin icon in other icon sets

Pin icon FAQ

Is the Pin icon free for commercial use?

Yes. IonIcons are released under the MIT 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="ion: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/ion/pin.svg" alt="Pin icon">, or paste the SVG code inline to style it with CSS.

Browse all IonIcons →