Location icon
pajamas:location
The Location icon (pajamas:location) is a free SVG icon from the Gitlab SVGs set by GitLab B.V.. It is drawn on a 24 × 24 grid. Gitlab SVGs icons 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
- Gitlab SVGs
- Author
- GitLab B.V.
- License
- MIT
- Size
- 24 × 24
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="currentColor" fill-rule="evenodd" d="M12.5 6a4.47 4.47 0 0 1-.883 2.677L8 13.5L4.383 8.677A4.5 4.5 0 1 1 12.5 6M14 6c0 1.34-.439 2.576-1.18 3.574L8.937 14.75L8 16l-.938-1.25L3.18 9.574A6 6 0 1 1 14 6M8 8a2 2 0 1 0 0-4a2 2 0 0 0 0 4" clip-rule="evenodd"/></svg>How to use the Location icon
React
import { Icon } from "@iconify/react";
<Icon icon="pajamas:location" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="pajamas:location" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="pajamas:location" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[pajamas--location]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/pajamas -->
<div class="i-pajamas:location"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="pajamas:location"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/pajamas/location.svg" alt="Location icon" width="24" height="24">Related icons in Gitlab SVGs
Location icon in other icon sets
Location icon FAQ
Is the Location icon free for commercial use?
Yes. Gitlab SVGs icons 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="pajamas: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/pajamas/location.svg" alt="Location icon">, or paste the SVG code inline to style it with CSS.