ICONYZ
English
Map Pin icon from BoxIcons v2 Solid

Map Pin icon

bxs:map-pin

The Map Pin icon (bxs:map-pin) is a free SVG icon from the BoxIcons v2 Solid set by Boxicons. It is drawn on a 24 × 24 grid. BoxIcons v2 Solid 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 Solid
Author
Boxicons
License
MIT
Size
24 × 24
Tags
mappin
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="m12 17l1-2V9.858c1.721-.447 3-2 3-3.858c0-2.206-1.794-4-4-4S8 3.794 8 6c0 1.858 1.279 3.411 3 3.858V15z"/><path fill="currentColor" d="m16.267 10.563l-.533 1.928C18.325 13.207 20 14.584 20 16c0 1.892-3.285 4-8 4s-8-2.108-8-4c0-1.416 1.675-2.793 4.267-3.51l-.533-1.928C4.197 11.54 2 13.623 2 16c0 3.364 4.393 6 10 6s10-2.636 10-6c0-2.377-2.197-4.46-5.733-5.437"/></svg>

How to use the Map Pin icon

React

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

<Icon icon="bxs:map-pin" width="24" />

Vue

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

<template>
  <Icon icon="bxs:map-pin" width="24" />
</template>

Svelte

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

<Icon icon="bxs:map-pin" width="24" />

Tailwind CSS

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

UnoCSS

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

Web component

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

<iconify-icon icon="bxs:map-pin"></iconify-icon>

HTML image

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

Related icons in BoxIcons v2 Solid

Map Pin icon in other icon sets

Map Pin icon FAQ

Is the Map Pin icon free for commercial use?

Yes. BoxIcons v2 Solid icons are released under the MIT license, which allows use in personal and commercial projects.

How do I use the Map Pin icon in React?

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

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

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

Browse all BoxIcons v2 Solid icons →