Pin icon
bx:pin
The Pin icon (bx:pin) is a free SVG icon from the BoxIcons v2 set by Boxicons. It is drawn on a 24 × 24 grid. BoxIcons v2 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
- BoxIcons v2
- Author
- Boxicons
- License
- MIT
- Size
- 24 × 24
- Tags
- bx pin
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="currentColor" d="m12 22l1-2v-3h5a1 1 0 0 0 1-1v-1.586c0-.526-.214-1.042-.586-1.414L17 11.586V8a1 1 0 0 0 1-1V4c0-1.103-.897-2-2-2H8c-1.103 0-2 .897-2 2v3a1 1 0 0 0 1 1v3.586L5.586 13A2 2 0 0 0 5 14.414V16a1 1 0 0 0 1 1h5v3zM8 4h8v2H8zM7 14.414l1.707-1.707A1 1 0 0 0 9 12V8h6v4c0 .266.105.52.293.707L17 14.414V15H7z"/></svg>How to use the Pin icon
React
import { Icon } from "@iconify/react";
<Icon icon="bx:pin" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="bx:pin" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="bx:pin" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[bx--pin]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/bx -->
<div class="i-bx:pin"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="bx:pin"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/bx/pin.svg" alt="Pin icon" width="24" height="24">Pin icon in other icon sets
Pin icon FAQ
Is the Pin icon free for commercial use?
Yes. BoxIcons v2 icons 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="bx: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/bx/pin.svg" alt="Pin icon">, or paste the SVG code inline to style it with CSS.