Map Pin Solid icon
heroicons:map-pin-solid
The Map Pin Solid icon (heroicons:map-pin-solid) is a free SVG icon from the HeroIcons set by Refactoring UI Inc. It is drawn on a 24 × 24 grid. HeroIcons 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
- HeroIcons
- Author
- Refactoring UI Inc
- License
- MIT
- Size
- 24 × 24
- Tags
- mappin, pinsolid, mappinsolid
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="currentColor" fill-rule="evenodd" d="m11.54 22.351l.07.04l.028.016a.76.76 0 0 0 .723 0l.028-.015l.071-.041q.091-.053.255-.153c.217-.133.524-.33.89-.589a19.6 19.6 0 0 0 2.682-2.282c1.944-1.99 3.963-4.98 3.963-8.827a8.25 8.25 0 0 0-16.5 0c0 3.846 2.02 6.837 3.963 8.827a19.6 19.6 0 0 0 2.682 2.282a17 17 0 0 0 1.145.742M12 13.5a3 3 0 1 0 0-6a3 3 0 0 0 0 6" clip-rule="evenodd"/></svg>How to use the Map Pin Solid icon
React
import { Icon } from "@iconify/react";
<Icon icon="heroicons:map-pin-solid" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="heroicons:map-pin-solid" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="heroicons:map-pin-solid" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[heroicons--map-pin-solid]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/heroicons -->
<div class="i-heroicons:map-pin-solid"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="heroicons:map-pin-solid"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/heroicons/map-pin-solid.svg" alt="Map Pin Solid icon" width="24" height="24">Related icons in HeroIcons
Map Pin Solid icon in other icon sets
Map Pin Solid icon FAQ
Is the Map Pin Solid icon free for commercial use?
Yes. HeroIcons are released under the MIT license, which allows use in personal and commercial projects.
How do I use the Map Pin Solid icon in React?
Install @iconify/react and render <Icon icon="heroicons:map-pin-solid" />, or use “Copy code” on this page to get a standalone React component.
How do I add the Map Pin Solid icon to a web page?
Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/heroicons/map-pin-solid.svg" alt="Map Pin Solid icon">, or paste the SVG code inline to style it with CSS.