ICONYZ
English
Location icon from Duoicons

Location icon

duo-icons:location

The Location icon (duo-icons:location) is a free SVG icon from the Duoicons set by fernandcf. It is drawn on a 24 × 24 grid. Duoicons are released under the MIT license, which allows use in personal and commercial projects. Copy it as SVG, JSX, Vue or Svelte code, or download the SVG file.

Icon set
Duoicons
Author
fernandcf
License
MIT
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="M6.72 16.64a1 1 0 1 1 .56 1.92c-.5.146-.86.3-1.091.44c.238.143.614.303 1.136.452C8.48 19.782 10.133 20 12 20s3.52-.218 4.675-.548c.523-.149.898-.309 1.136-.452c-.23-.14-.59-.294-1.09-.44a1 1 0 0 1 .559-1.92c.668.195 1.28.445 1.75.766c.435.299.97.82.97 1.594c0 .783-.548 1.308-.99 1.607c-.478.322-1.103.573-1.786.768C15.846 21.77 14 22 12 22s-3.846-.23-5.224-.625c-.683-.195-1.308-.446-1.786-.768c-.442-.3-.99-.824-.99-1.607c0-.774.535-1.295.97-1.594c.47-.321 1.082-.571 1.75-.766M12 7.5c-1.54 0-2.502 1.667-1.732 3c.357.619 1.017 1 1.732 1c1.54 0 2.502-1.667 1.732-3A2 2 0 0 0 12 7.5" class="duoicon-primary-layer"/><path fill="currentColor" d="M12 2a7.5 7.5 0 0 1 7.5 7.5c0 2.568-1.4 4.656-2.85 6.14a16.4 16.4 0 0 1-1.853 1.615c-.594.446-1.952 1.282-1.952 1.282a1.71 1.71 0 0 1-1.69 0a21 21 0 0 1-1.952-1.282A16.4 16.4 0 0 1 7.35 15.64C5.9 14.156 4.5 12.068 4.5 9.5A7.5 7.5 0 0 1 12 2" class="duoicon-secondary-layer" opacity=".3"/></svg>

How to use the Location icon

React

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

<Icon icon="duo-icons:location" width="24" />

Vue

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

<template>
  <Icon icon="duo-icons:location" width="24" />
</template>

Svelte

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

<Icon icon="duo-icons:location" width="24" />

Tailwind CSS

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

UnoCSS

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

Web component

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

<iconify-icon icon="duo-icons:location"></iconify-icon>

HTML image

<img src="https://iconyz.com/api/public/svg/duo-icons/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. Duoicons are released under the MIT license, which allows use in personal and commercial projects.

How do I use the Location icon in React?

Install @iconify/react and render <Icon icon="duo-icons: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/duo-icons/location.svg" alt="Location icon">, or paste the SVG code inline to style it with CSS.

Browse all Duoicons →