ICONYZ
English
Location Pin icon from Boxicons

Location Pin icon

boxicons:location-pin

The Location Pin icon (boxicons:location-pin) is a free SVG icon from the Boxicons set. It is drawn on a 24 × 24 grid. Boxicons 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
Author
Boxicons
License
MIT
Size
24 × 24
Tags
locationpin
Download SVG

SVG code

<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="currentColor" d="M11 9.86V16l1 2l1-2V9.86c1.72-.45 3-2 3-3.86c0-2.21-1.79-4-4-4S8 3.79 8 6c0 1.86 1.28 3.41 3 3.86M12 4c1.1 0 2 .9 2 2s-.9 2-2 2s-2-.9-2-2s.9-2 2-2"/><path fill="currentColor" d="M15 14.17v2.01c3.29.41 5 1.41 5 1.82c0 .51-2.75 2-8 2s-8-1.49-8-2c0-.4 1.71-1.41 5-1.82v-2.01c-3.75.42-7 1.66-7 3.83c0 2.75 5.18 4 10 4s10-1.25 10-4c0-2.18-3.25-3.41-7-3.83"/></svg>

How to use the Location Pin icon

React

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

<Icon icon="boxicons:location-pin" width="24" />

Vue

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

<template>
  <Icon icon="boxicons:location-pin" width="24" />
</template>

Svelte

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

<Icon icon="boxicons:location-pin" width="24" />

Tailwind CSS

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

UnoCSS

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

Web component

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

<iconify-icon icon="boxicons:location-pin"></iconify-icon>

HTML image

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

Related icons in Boxicons

Location Pin icon in other icon sets

Location Pin icon FAQ

Is the Location Pin icon free for commercial use?

Yes. Boxicons are released under the MIT license, which allows use in personal and commercial projects.

How do I use the Location Pin icon in React?

Install @iconify/react and render <Icon icon="boxicons:location-pin" />, or use “Copy code” on this page to get a standalone React component.

How do I add the Location Pin icon to a web page?

Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/boxicons/location-pin.svg" alt="Location Pin icon">, or paste the SVG code inline to style it with CSS.

Browse all Boxicons →