ICONYZ
English
Location icon from Gridicons

Location icon

gridicons:location

The Location icon (gridicons:location) is a free SVG icon from the Gridicons set by Automattic. It is drawn on a 24 × 24 grid. Gridicons are released under the GPL 2.0 license, which allows use in personal and commercial projects; modified versions of the icon files must keep the same license. Copy it as SVG, JSX, Vue or Svelte code, or download the SVG file.

Icon set
Gridicons
Author
Automattic
License
GPL-2.0-only
Size
24 × 24
Download SVG

SVG code

<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="currentColor" d="M19 9A7 7 0 1 0 5 9c0 1.387.409 2.677 1.105 3.765h-.008L12 22l5.903-9.235h-.007A6.97 6.97 0 0 0 19 9m-7 3a3 3 0 1 1 0-6a3 3 0 0 1 0 6"/></svg>

How to use the Location icon

React

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

<Icon icon="gridicons:location" width="24" />

Vue

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

<template>
  <Icon icon="gridicons:location" width="24" />
</template>

Svelte

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

<Icon icon="gridicons:location" width="24" />

Tailwind CSS

<!-- @iconify/tailwind plugin -->
<span class="icon-[gridicons--location]"></span>

UnoCSS

<!-- @unocss/preset-icons + @iconify-json/gridicons -->
<div class="i-gridicons:location"></div>

Web component

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

<iconify-icon icon="gridicons:location"></iconify-icon>

HTML image

<img src="https://iconyz.com/api/public/svg/gridicons/location.svg" alt="Location icon" width="24" height="24">

Location icon in other icon sets

Location icon FAQ

Is the Location icon free for commercial use?

Yes. Gridicons are released under the GPL 2.0 license, which allows use in personal and commercial projects; modified versions of the icon files must keep the same license.

How do I use the Location icon in React?

Install @iconify/react and render <Icon icon="gridicons:location" />, or use “Copy code” on this page to get a standalone React component.

How do I add the Location icon to a web page?

Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/gridicons/location.svg" alt="Location icon">, or paste the SVG code inline to style it with CSS.

Browse all Gridicons →