location icon

location from Octicons by GitHub · Regular · MIT Free for personal and commercial use.

Name
location
Set
Octicons
Style
Regular
Viewbox
12×16
License
MIT

2 other variants in Octicons

The same icon in other sets

Use the location icon

SVG

<svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 12 16"><path fill-rule="evenodd" d="M6 0C2.69 0 0 2.5 0 5.5C0 10.02 6 16 6 16s6-5.98 6-10.5C12 2.5 9.31 0 6 0zm0 14.55C4.14 12.52 1 8.44 1 5.5C1 3.02 3.25 1 6 1c1.34 0 2.61.48 3.56 1.36c.92.86 1.44 1.97 1.44 3.14c0 2.94-3.14 7.02-5 9.05zM8 5.5c0 1.11-.89 2-2 2c-1.11 0-2-.89-2-2c0-1.11.89-2 2-2c1.11 0 2 .89 2 2z" fill="currentColor"/></svg>

React

import type { SVGProps } from "react";

export function OcticonLocation(props: SVGProps<SVGSVGElement>) {
  return (
    <svg {...props} xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 12 16"><path fillRule="evenodd" d="M6 0C2.69 0 0 2.5 0 5.5C0 10.02 6 16 6 16s6-5.98 6-10.5C12 2.5 9.31 0 6 0zm0 14.55C4.14 12.52 1 8.44 1 5.5C1 3.02 3.25 1 6 1c1.34 0 2.61.48 3.56 1.36c.92.86 1.44 1.97 1.44 3.14c0 2.94-3.14 7.02-5 9.05zM8 5.5c0 1.11-.89 2-2 2c-1.11 0-2-.89-2-2c0-1.11.89-2 2-2c1.11 0 2 .89 2 2z" fill="currentColor"/></svg>
  );
}

Vue

<template>
  <svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 12 16"><path fill-rule="evenodd" d="M6 0C2.69 0 0 2.5 0 5.5C0 10.02 6 16 6 16s6-5.98 6-10.5C12 2.5 9.31 0 6 0zm0 14.55C4.14 12.52 1 8.44 1 5.5C1 3.02 3.25 1 6 1c1.34 0 2.61.48 3.56 1.36c.92.86 1.44 1.97 1.44 3.14c0 2.94-3.14 7.02-5 9.05zM8 5.5c0 1.11-.89 2-2 2c-1.11 0-2-.89-2-2c0-1.11.89-2 2-2c1.11 0 2 .89 2 2z" fill="currentColor"/></svg>
</template>

CSS

.icon-location {
  width: 24px;
  height: 24px;
  background-color: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%221em%22%20height%3D%221em%22%20viewBox%3D%220%200%2012%2016%22%3E%3Cpath%20fill-rule%3D%22evenodd%22%20d%3D%22M6%200C2.69%200%200%202.5%200%205.5C0%2010.02%206%2016%206%2016s6-5.98%206-10.5C12%202.5%209.31%200%206%200zm0%2014.55C4.14%2012.52%201%208.44%201%205.5C1%203.02%203.25%201%206%201c1.34%200%202.61.48%203.56%201.36c.92.86%201.44%201.97%201.44%203.14c0%202.94-3.14%207.02-5%209.05zM8%205.5c0%201.11-.89%202-2%202c-1.11%200-2-.89-2-2c0-1.11.89-2%202-2c1.11%200%202%20.89%202%202z%22%20fill%3D%22currentColor%22%2F%3E%3C%2Fsvg%3E") no-repeat center / contain;
  mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%221em%22%20height%3D%221em%22%20viewBox%3D%220%200%2012%2016%22%3E%3Cpath%20fill-rule%3D%22evenodd%22%20d%3D%22M6%200C2.69%200%200%202.5%200%205.5C0%2010.02%206%2016%206%2016s6-5.98%206-10.5C12%202.5%209.31%200%206%200zm0%2014.55C4.14%2012.52%201%208.44%201%205.5C1%203.02%203.25%201%206%201c1.34%200%202.61.48%203.56%201.36c.92.86%201.44%201.97%201.44%203.14c0%202.94-3.14%207.02-5%209.05zM8%205.5c0%201.11-.89%202-2%202c-1.11%200-2-.89-2-2c0-1.11.89-2%202-2c1.11%200%202%20.89%202%202z%22%20fill%3D%22currentColor%22%2F%3E%3C%2Fsvg%3E") no-repeat center / contain;
}

Direct links: SVG · download · JSON · https://iconsdb.app/api/v1/icon/octicon/location.svg?color=%231a73e8&size=48