location icon
location from Codicons by Microsoft Corporation · Regular · CC-BY-4.0 Attribution required.
- Name
- location
- Set
- Codicons
- Style
- Regular
- Viewbox
- 16×16
- License
- CC BY 4.0
The same icon in other sets
locationAkar IconslocationCarbonlocationElement PluslocationFramework7 IconslocationFont Awesome Solidlocation-12-filledFluent UI System IconslocationHumbleiconslocationIonIconslocationMage Iconslocation-fillMingCute IconlocationMyna UI IconslocationOcticonslocationTabler IconslocationTDesign Iconslocation-outlineTeenyiconslocation-outlinedWeUI Icon
Use the location icon
SVG
<svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 16 16"><path fill="currentColor" d="M8 1a6 6 0 0 1 6 6c0 2.874-3.097 6.016-4.84 7.558c-.67.59-1.65.59-2.32 0C5.098 13.016 2 9.874 2 7a6 6 0 0 1 6-6m0 1a5 5 0 0 0-5 5c0 1.108.614 2.395 1.57 3.683c.933 1.258 2.087 2.377 2.934 3.126c.29.256.702.256.992 0c.847-.749 2-1.867 2.935-3.126C12.386 9.395 13 8.108 13 7a5 5 0 0 0-5-5m0 2.75a2.25 2.25 0 1 1 0 4.5a2.25 2.25 0 0 1 0-4.5m0 1a1.25 1.25 0 1 0 0 2.5a1.25 1.25 0 0 0 0-2.5"/></svg>
React
import type { SVGProps } from "react";
export function CodiconLocation(props: SVGProps<SVGSVGElement>) {
return (
<svg {...props} xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 16 16"><path fill="currentColor" d="M8 1a6 6 0 0 1 6 6c0 2.874-3.097 6.016-4.84 7.558c-.67.59-1.65.59-2.32 0C5.098 13.016 2 9.874 2 7a6 6 0 0 1 6-6m0 1a5 5 0 0 0-5 5c0 1.108.614 2.395 1.57 3.683c.933 1.258 2.087 2.377 2.934 3.126c.29.256.702.256.992 0c.847-.749 2-1.867 2.935-3.126C12.386 9.395 13 8.108 13 7a5 5 0 0 0-5-5m0 2.75a2.25 2.25 0 1 1 0 4.5a2.25 2.25 0 0 1 0-4.5m0 1a1.25 1.25 0 1 0 0 2.5a1.25 1.25 0 0 0 0-2.5"/></svg>
);
}
Vue
<template> <svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 16 16"><path fill="currentColor" d="M8 1a6 6 0 0 1 6 6c0 2.874-3.097 6.016-4.84 7.558c-.67.59-1.65.59-2.32 0C5.098 13.016 2 9.874 2 7a6 6 0 0 1 6-6m0 1a5 5 0 0 0-5 5c0 1.108.614 2.395 1.57 3.683c.933 1.258 2.087 2.377 2.934 3.126c.29.256.702.256.992 0c.847-.749 2-1.867 2.935-3.126C12.386 9.395 13 8.108 13 7a5 5 0 0 0-5-5m0 2.75a2.25 2.25 0 1 1 0 4.5a2.25 2.25 0 0 1 0-4.5m0 1a1.25 1.25 0 1 0 0 2.5a1.25 1.25 0 0 0 0-2.5"/></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%2016%2016%22%3E%3Cpath%20fill%3D%22currentColor%22%20d%3D%22M8%201a6%206%200%200%201%206%206c0%202.874-3.097%206.016-4.84%207.558c-.67.59-1.65.59-2.32%200C5.098%2013.016%202%209.874%202%207a6%206%200%200%201%206-6m0%201a5%205%200%200%200-5%205c0%201.108.614%202.395%201.57%203.683c.933%201.258%202.087%202.377%202.934%203.126c.29.256.702.256.992%200c.847-.749%202-1.867%202.935-3.126C12.386%209.395%2013%208.108%2013%207a5%205%200%200%200-5-5m0%202.75a2.25%202.25%200%201%201%200%204.5a2.25%202.25%200%200%201%200-4.5m0%201a1.25%201.25%200%201%200%200%202.5a1.25%201.25%200%200%200%200-2.5%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%2016%2016%22%3E%3Cpath%20fill%3D%22currentColor%22%20d%3D%22M8%201a6%206%200%200%201%206%206c0%202.874-3.097%206.016-4.84%207.558c-.67.59-1.65.59-2.32%200C5.098%2013.016%202%209.874%202%207a6%206%200%200%201%206-6m0%201a5%205%200%200%200-5%205c0%201.108.614%202.395%201.57%203.683c.933%201.258%202.087%202.377%202.934%203.126c.29.256.702.256.992%200c.847-.749%202-1.867%202.935-3.126C12.386%209.395%2013%208.108%2013%207a5%205%200%200%200-5-5m0%202.75a2.25%202.25%200%201%201%200%204.5a2.25%202.25%200%200%201%200-4.5m0%201a1.25%201.25%200%201%200%200%202.5a1.25%201.25%200%200%200%200-2.5%22%2F%3E%3C%2Fsvg%3E") no-repeat center / contain;
}Direct links: SVG · download · JSON · https://iconsdb.app/api/v1/icon/codicon/location.svg?color=%231a73e8&size=48