ICONYZ
English
Map Pin icon from Keyline Icons

Map Pin icon

keyline-icons:map-pin

The Map Pin icon (keyline-icons:map-pin) is a free SVG icon from the Keyline Icons set. It is drawn on a 24 × 24 grid. Keyline 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
Keyline Icons
Author
Keyline Icons
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="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M17.962848 15.333333L12 22L6.037152 15.333333C4.725272 13.866607 4 11.96782 4 10C4 5.581722 7.581722 2 12 2C16.418278 2 20 5.581722 20 10C20 11.96782 19.274728 13.866607 17.962848 15.333333ZM15 10C15 11.6569 13.6569 13 12 13C10.3431 13 9 11.6569 9 10C9 8.3431 10.3431 7 12 7C13.6569 7 15 8.3431 15 10Z"/></svg>

How to use the Map Pin icon

React

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

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

Vue

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

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

Svelte

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

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

Tailwind CSS

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

UnoCSS

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

Web component

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

<iconify-icon icon="keyline-icons:map-pin"></iconify-icon>

HTML image

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

Related icons in Keyline Icons

Map Pin icon in other icon sets

Map Pin icon FAQ

Is the Map Pin icon free for commercial use?

Yes. Keyline 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="keyline-icons: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/keyline-icons/map-pin.svg" alt="Map Pin icon">, or paste the SVG code inline to style it with CSS.

Browse all Keyline Icons →