Compass icon
line-md:compass
The Compass icon (line-md:compass) is a free SVG icon from the Material Line Icons set by Vjacheslav Trushkin. It is drawn on a 24 × 24 grid. Material Line 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
- Material Line Icons
- Author
- Vjacheslav Trushkin
- License
- MIT
- Size
- 24 × 24
- Category
- Maps
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><defs><mask id="SVGvmIgmdVi"><path fill="none" stroke="#fff" stroke-dasharray="60" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M12 3c4.97 0 9 4.03 9 9c0 4.97 -4.03 9 -9 9c-4.97 0 -9 -4.03 -9 -9c0 -4.97 4.03 -9 9 -9Z"><animate fill="freeze" attributeName="stroke-dashoffset" dur="0.6s" values="60;0"/></path><path fill="#fff" d="M11 11l1 1l1 1l-1 -1Z" transform="rotate(-180 12 12)"><animate fill="freeze" attributeName="d" begin="0.6s" dur="0.3s" to="M10.2 10.2l6.8 -3.2l-3.2 6.8l-6.8 3.2Z"/><animateTransform fill="freeze" attributeName="transform" begin="0.6s" dur="0.5s" type="rotate" values="-180 12 12;0 12 12"/></path><circle cx="12" cy="12"><animate fill="freeze" attributeName="r" begin="0.6s" dur="0.3s" to="1"/></circle></mask></defs><path fill="currentColor" d="M0 0h24v24H0z" mask="url(#SVGvmIgmdVi)"/></svg>How to use the Compass icon
React
import { Icon } from "@iconify/react";
<Icon icon="line-md:compass" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="line-md:compass" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="line-md:compass" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[line-md--compass]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/line-md -->
<div class="i-line-md:compass"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="line-md:compass"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/line-md/compass.svg" alt="Compass icon" width="24" height="24">Related icons in Material Line Icons
Compass icon in other icon sets
Compass icon FAQ
Is the Compass icon free for commercial use?
Yes. Material Line 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="line-md: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/line-md/compass.svg" alt="Compass icon">, or paste the SVG code inline to style it with CSS.