Compass icon
typcn:compass
The Compass icon (typcn:compass) is a free SVG icon from the Typicons set by Stephen Hutchings. It is drawn on a 24 × 24 grid. Typicons are released under the CC BY-SA 4.0 license, which allows use in personal and commercial projects as long as you credit the author and share changes to the icons under the same license. Copy it as SVG, JSX, Vue or Svelte code, or download the SVG file.
- Icon set
- Typicons
- Author
- Stephen Hutchings
- License
- CC-BY-SA-4.0
- 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" d="M12 5c3.859.001 7 3.142 7 7.001c0 3.858-3.141 6.998-7 6.999s-7-3.14-7-6.999s3.141-7 7-7.001m0-2a9 9 0 0 0 0 18a9 9 0 0 0 0-18m4.182 4.819a.5.5 0 0 0-.491-.127L9.74 9.398a.5.5 0 0 0-.342.343l-1.707 5.951a.496.496 0 0 0 .481.637l.138-.02l5.95-1.708a.5.5 0 0 0 .342-.343l1.707-5.949a.5.5 0 0 0-.127-.49M8.9 15.101l1.383-4.817l3.434 3.435z"/></svg>How to use the Compass icon
React
import { Icon } from "@iconify/react";
<Icon icon="typcn:compass" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="typcn:compass" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="typcn:compass" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[typcn--compass]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/typcn -->
<div class="i-typcn:compass"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="typcn:compass"></iconify-icon>HTML image
<img src="https://icons.sys.karaztherapy.ma/api/public/svg/typcn/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. Typicons are released under the CC BY-SA 4.0 license, which allows use in personal and commercial projects as long as you credit the author and share changes to the icons under the same license.
How do I use the Compass icon in React?
Install @iconify/react and render <Icon icon="typcn: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://icons.sys.karaztherapy.ma/api/public/svg/typcn/compass.svg" alt="Compass icon">, or paste the SVG code inline to style it with CSS.