Compass icon
map:compass
The Compass icon (map:compass) is a free SVG icon from the Map Icons set by Scott de Jonge. It is drawn on a 50 × 50 grid. Map Icons are released under the Open Font 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
- Map Icons
- Author
- Scott de Jonge
- License
- OFL-1.1
- Size
- 50 × 50
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="50" height="50" viewBox="0 0 50 50"><path fill="currentColor" d="M25 49C11.766 49 1 38.233 1 25S11.766 1 25 1s24 10.766 24 24s-10.767 24-24 24m0-44C13.972 5 5 13.972 5 25s8.972 20 20 20s20-8.972 20-20S36.028 5 25 5m.045 3.25S18 20.321 18 24v2c0 3.678 7.066 16 7.066 16S32 29.934 32 26.256v-2.262c0-3.679-6.955-15.744-6.955-15.744M25 29a4 4 0 1 1 0-8a4 4 0 0 1 0 8"/></svg>How to use the Compass icon
React
import { Icon } from "@iconify/react";
<Icon icon="map:compass" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="map:compass" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="map:compass" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[map--compass]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/map -->
<div class="i-map:compass"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="map:compass"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/map/compass.svg" alt="Compass icon" width="24" height="24">Compass icon in other icon sets
Compass icon FAQ
Is the Compass icon free for commercial use?
Yes. Map Icons are released under the Open Font License, which allows use in personal and commercial projects.
How do I use the Compass icon in React?
Install @iconify/react and render <Icon icon="map:compass" />, or use “Copy code” on this page to get a standalone React component.
How do I add the Compass icon to a web page?
Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/map/compass.svg" alt="Compass icon">, or paste the SVG code inline to style it with CSS.