Export size24px

 

App.jsx
import { Location } from "fmicon-react";

<Location size={24} strokeWidth={1} />

Props

PropTypeDefaultDescription
sizenumber | string24Width and height in pixels
variant"linear" | "bold" | …linearAny of the 8 styles, plus glass-light for light backgrounds
colorstringcurrentColorAny CSS colour; inherits the text colour by default
strokeWidthnumber1.5Line weight for linear, twotone, broken and duotone
...propsSVG attributes–className, aria-label, onClick and the rest

What is the Location Icon?

This location icon is a map pin: a rounded teardrop with a point at the bottom and a hole in the centre. It marks a single place, so use it next to addresses, store finders, delivery points and buttons that use the device's position to show what is nearby.

The teardrop comes from the pushpins people stuck into paper maps, and digital map services made it the default marker for one exact spot. The point shows where, and the round head leaves room for a dot or number. It differs from a map glyph, which means a whole area or route, and from the arrow-shaped navigation cursor, which means your current heading.

When to Use the Location Icon

  • Store locator: labels the search box and each result card so shoppers see the branch address and distance.
  • Food delivery app header: shows the current delivery address and opens a sheet to change it.
  • Contact page footer: sits before the office address and links straight to directions in the visitor's map app.
  • Event detail screen: marks the venue name and opens the exact spot on a map when tapped.

The Location Icon in Linear Style

Linear icons are drawn with a single even stroke and no fills, so they stay light next to body text. You can change the stroke weight from thin to bold without the shape falling apart.

Best for: toolbars, tab bars, settings lists and anything that sits beside text.

The same icon also comes in outline, bold, bulk, twotone, broken, glass and duotone. See every icon in this look on the free linear icons page.

How to Use the Location Icon

  1. Customise it. Pick a stroke weight, size and colour on the left. Thin (1 px) looks best at large sizes, Regular (1.5 px) is the default.
  2. Copy or download. Copy the SVG, or download SVG, PNG or WebP at any size from 16 to 512 px.
  3. Drop it into code. Choose React, React Native, Vue, Svelte, Angular or Flutter above and copy the ready-made LocationIcon component.
  4. Label it. If the icon is the only thing in a button, give it a name for screen readers: aria-label="Use my location". If text sits next to it, use aria-hidden="true" instead.

Design Tips for the Location Icon

  • Anchor the pin by its point, not its centre, when placing it on a map, otherwise markers drift above the real location as people zoom.
  • Ask for location permission only after someone taps the pin button, and explain why in the label, such as Use my location.
  • In address lists, keep the pin decorative with aria-hidden, since the written address already carries the meaning for screen readers.

Icons That Work Well with Location

Browse all location icons

Location Icon FAQ

Yes, both names describe the same teardrop marker, and people search for them interchangeably. Designers sometimes call it a map pin when it sits on a map and a location pin when it appears beside an address or in a form, but the glyph is identical.

For a GPS icon that means use my current position, a crosshair or a filled navigation arrow is clearer than a pin. Keep the pin for fixed places, like a shop or venue, so people can tell their own position apart from destinations on the same map.

Yes. The location icon is one of 891 free, open-source icons you can use in personal and commercial work, including client projects and apps you sell. The packages are MIT licensed; keep the licence notice if you redistribute the icon files.

SVG, PNG and WebP, at any size from 16 to 512 pixels. You can also copy it as JSX or as a ready-made component for React, React Native, Vue, Svelte, Angular and Flutter, with your stroke weight and colour already applied.