ICONYZ
English
Compass icon from Meteocons

Compass icon

meteocons:compass

The Compass icon (meteocons:compass) is a free SVG icon from the Meteocons set by Bas Milius. It is drawn on a 512 × 512 grid. Meteocons 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
Meteocons
Author
Bas Milius
License
MIT
Size
512 × 512
Download SVG

SVG code

<svg xmlns="http://www.w3.org/2000/svg" width="512" height="512" viewBox="0 0 512 512"><circle cx="256" cy="256" r="144" fill="none" stroke="#475569" stroke-miterlimit="10" stroke-width="12"/><path fill="#475569" d="M259.2 152v-10.4h4.6v18h-4.7l-6.3-10.4v10.4h-4.6v-18h4.7Zm103.3 105.7v3.3h9.8v4h-14.5v-18H372v4h-9.5v3h8.3v3.8Zm-106.4 116a8.4 8.4 0 0 1-5.4-1.6a5.8 5.8 0 0 1-2-4.4h4.4c0 1.6 1.1 2.4 3.1 2.4c1.8 0 2.6-.6 2.6-1.7a1.3 1.3 0 0 0-.4-1a4.6 4.6 0 0 0-1.6-.7l-3.4-.7c-2.9-.7-4.4-2.4-4.4-4.9a5 5 0 0 1 1.7-3.9a7.5 7.5 0 0 1 5.1-1.5a8 8 0 0 1 5 1.5a5.2 5.2 0 0 1 2 4h-4.3c-.2-1.4-1-2-2.7-2a2.9 2.9 0 0 0-1.6.4a1.3 1.3 0 0 0-.6 1c0 .8.5 1.3 1.6 1.6l3.5.8q4.7 1.1 4.7 5.1a4.9 4.9 0 0 1-2 4.1a8.5 8.5 0 0 1-5.3 1.5ZM156.2 255l2-8h4.7l-5.2 18h-4.5l-2.5-11.5l-2.3 11.5h-4.6l-5.2-18h4.7l2 8l.9 4.2l.7-4.3l1.7-7.9h4.4l1.8 8l.6 4.1Z"/><g><path fill="#ef4444" d="m256 172l-24 84h48l-24-84z"/><path fill="#e2e8f0" d="m232 256l24 84l24-84h-48z"/><animateTransform additive="sum" attributeName="transform" calcMode="spline" dur="2s" keySplines=".42, 0, .58, 1; .42, 0, .58, 1" repeatCount="indefinite" type="rotate" values="-6 256 256; 6 256 256; -6 256 256"/></g></svg>

How to use the Compass icon

React

import { Icon } from "@iconify/react";

<Icon icon="meteocons:compass" width="24" />

Vue

<script setup>
import { Icon } from "@iconify/vue";
</script>

<template>
  <Icon icon="meteocons:compass" width="24" />
</template>

Svelte

<script>
  import Icon from "@iconify/svelte";
</script>

<Icon icon="meteocons:compass" width="24" />

Tailwind CSS

<!-- @iconify/tailwind plugin -->
<span class="icon-[meteocons--compass]"></span>

UnoCSS

<!-- @unocss/preset-icons + @iconify-json/meteocons -->
<div class="i-meteocons:compass"></div>

Web component

<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>

<iconify-icon icon="meteocons:compass"></iconify-icon>

HTML image

<img src="https://iconyz.com/api/public/svg/meteocons/compass.svg" alt="Compass icon" width="24" height="24">

Related icons in Meteocons

Compass icon in other icon sets

Compass icon FAQ

Is the Compass icon free for commercial use?

Yes. Meteocons 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="meteocons: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/meteocons/compass.svg" alt="Compass icon">, or paste the SVG code inline to style it with CSS.

Browse all Meteocons icons →