John KuehJohn Kueh

map pin icon

Heroicons · map-pin · MIT

Download SVG

The Heroicons map pin icon visually represents a location marker, commonly used to indicate a specific place on a map or a physical address.

Common uses

  • Displaying a user's current location on a map.
  • Marking the address of a business or point of interest.
  • Indicating a delivery destination.

Use it in React

Install
npm i @heroicons/react
Import & render
import { MapPinIcon } from '@heroicons/react/24/outline';

<MapPinIcon className="size-6" />

Styles

Heroicons ships this icon in 4 styles — each its own import:

24/outline
<MapPinIcon className="size-6" />
24/solid
<MapPinIcon className="size-6" />
20/solid
<MapPinIcon className="size-6" />
16/solid
<MapPinIcon className="size-6" />

Details

Library
Heroicons (324 icons)
License
MIT
viewBox
0 0 24 24
Keywords
mappinlocation markermap markeraddress icon

FAQ

What is the map pin icon used for?
It's used to visually denote a geographical location, such as an address, a point of interest, or a user's current position.
How do I use the map pin icon in React?
Import it from Heroicons and use it as a component: import { MapPinIcon } from '@heroicons/react/24/outline'; <MapPinIcon className="h-6 w-6" />
What is the license for Heroicons?
Heroicons are available under the MIT license, allowing for free use in commercial and non-commercial projects.

Related icons

The same idea in other libraries, and near matches in Heroicons.

Looking for something else? Search Heroicons and 4 more libraries by description →

The search behind these pages runs as a Claude Code skill. What skills are and how I ship them →