Compass icon
foundation:compass
The Compass icon (foundation:compass) is a free SVG icon from the Foundation set by Zurb. It is drawn on a 100 × 100 grid. Foundation 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
- Foundation
- Author
- Zurb
- License
- MIT
- Size
- 100 × 100
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><g fill="currentColor"><path d="M50 12.5c-20.712 0-37.5 16.793-37.5 37.502S29.288 87.5 50 87.5s37.5-16.788 37.5-37.498S70.712 12.5 50 12.5m0 65.06c-15.199 0-27.56-12.362-27.56-27.558S34.801 22.44 50 22.44s27.56 12.367 27.56 27.562S65.198 77.56 50 77.56"/><path d="M64.674 32.69L45.129 44.338a1.84 1.84 0 0 0-.646.641L32.69 64.67a1.865 1.865 0 0 0 .291 2.285l.078.078c.359.354.833.539 1.311.539c.328 0 .66-.088.956-.268l19.69-11.789c.262-.16.485-.383.641-.645l11.648-19.545c.437-.729.245-1.738-.349-2.345a1.86 1.86 0 0 0-2.282-.29"/></g></svg>How to use the Compass icon
React
import { Icon } from "@iconify/react";
<Icon icon="foundation:compass" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="foundation:compass" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="foundation:compass" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[foundation--compass]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/foundation -->
<div class="i-foundation:compass"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="foundation:compass"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/foundation/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. Foundation icons are released under the MIT 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="foundation: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/foundation/compass.svg" alt="Compass icon">, or paste the SVG code inline to style it with CSS.