compass from Meteocons by Bas Milius · Line · animated · MIT Free for personal and commercial use.

Name
compass
Set
Meteocons
Style
Line
Animation
Animated SVG (SMIL)
Viewbox
512×512
License
MIT

1 other variant in Meteocons

The same icon in other sets

All compass icons →

Use the compass icon

SVG

<svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" 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>

React

import type { SVGProps } from "react";

export function MeteoconsCompass(props: SVGProps<SVGSVGElement>) {
  return (
    <svg {...props} xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 512 512"><circle cx="256" cy="256" r="144" fill="none" stroke="#475569" strokeMiterlimit="10" strokeWidth="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>
  );
}

Vue

<template>
  <svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" 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>
</template>

CSS

.icon-compass {
  width: 24px;
  height: 24px;
  background-color: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%221em%22%20height%3D%221em%22%20viewBox%3D%220%200%20512%20512%22%3E%3Ccircle%20cx%3D%22256%22%20cy%3D%22256%22%20r%3D%22144%22%20fill%3D%22none%22%20stroke%3D%22%23475569%22%20stroke-miterlimit%3D%2210%22%20stroke-width%3D%2212%22%2F%3E%3Cpath%20fill%3D%22%23475569%22%20d%3D%22M259.2%20152v-10.4h4.6v18h-4.7l-6.3-10.4v10.4h-4.6v-18h4.7Zm103.3%20105.7v3.3h9.8v4h-14.5v-18H372v4h-9.5v3h8.3v3.8Zm-106.4%20116a8.4%208.4%200%200%201-5.4-1.6a5.8%205.8%200%200%201-2-4.4h4.4c0%201.6%201.1%202.4%203.1%202.4c1.8%200%202.6-.6%202.6-1.7a1.3%201.3%200%200%200-.4-1a4.6%204.6%200%200%200-1.6-.7l-3.4-.7c-2.9-.7-4.4-2.4-4.4-4.9a5%205%200%200%201%201.7-3.9a7.5%207.5%200%200%201%205.1-1.5a8%208%200%200%201%205%201.5a5.2%205.2%200%200%201%202%204h-4.3c-.2-1.4-1-2-2.7-2a2.9%202.9%200%200%200-1.6.4a1.3%201.3%200%200%200-.6%201c0%20.8.5%201.3%201.6%201.6l3.5.8q4.7%201.1%204.7%205.1a4.9%204.9%200%200%201-2%204.1a8.5%208.5%200%200%201-5.3%201.5ZM156.2%20255l2-8h4.7l-5.2%2018h-4.5l-2.5-11.5l-2.3%2011.5h-4.6l-5.2-18h4.7l2%208l.9%204.2l.7-4.3l1.7-7.9h4.4l1.8%208l.6%204.1Z%22%2F%3E%3Cg%20transform%3D%22rotate(-6%20256%20256)%22%3E%3Cpath%20fill%3D%22%23ef4444%22%20d%3D%22m256%20172l-24%2084h48l-24-84z%22%2F%3E%3Cpath%20fill%3D%22%23e2e8f0%22%20d%3D%22m232%20256l24%2084l24-84h-48z%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E") no-repeat center / contain;
  mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%221em%22%20height%3D%221em%22%20viewBox%3D%220%200%20512%20512%22%3E%3Ccircle%20cx%3D%22256%22%20cy%3D%22256%22%20r%3D%22144%22%20fill%3D%22none%22%20stroke%3D%22%23475569%22%20stroke-miterlimit%3D%2210%22%20stroke-width%3D%2212%22%2F%3E%3Cpath%20fill%3D%22%23475569%22%20d%3D%22M259.2%20152v-10.4h4.6v18h-4.7l-6.3-10.4v10.4h-4.6v-18h4.7Zm103.3%20105.7v3.3h9.8v4h-14.5v-18H372v4h-9.5v3h8.3v3.8Zm-106.4%20116a8.4%208.4%200%200%201-5.4-1.6a5.8%205.8%200%200%201-2-4.4h4.4c0%201.6%201.1%202.4%203.1%202.4c1.8%200%202.6-.6%202.6-1.7a1.3%201.3%200%200%200-.4-1a4.6%204.6%200%200%200-1.6-.7l-3.4-.7c-2.9-.7-4.4-2.4-4.4-4.9a5%205%200%200%201%201.7-3.9a7.5%207.5%200%200%201%205.1-1.5a8%208%200%200%201%205%201.5a5.2%205.2%200%200%201%202%204h-4.3c-.2-1.4-1-2-2.7-2a2.9%202.9%200%200%200-1.6.4a1.3%201.3%200%200%200-.6%201c0%20.8.5%201.3%201.6%201.6l3.5.8q4.7%201.1%204.7%205.1a4.9%204.9%200%200%201-2%204.1a8.5%208.5%200%200%201-5.3%201.5ZM156.2%20255l2-8h4.7l-5.2%2018h-4.5l-2.5-11.5l-2.3%2011.5h-4.6l-5.2-18h4.7l2%208l.9%204.2l.7-4.3l1.7-7.9h4.4l1.8%208l.6%204.1Z%22%2F%3E%3Cg%20transform%3D%22rotate(-6%20256%20256)%22%3E%3Cpath%20fill%3D%22%23ef4444%22%20d%3D%22m256%20172l-24%2084h48l-24-84z%22%2F%3E%3Cpath%20fill%3D%22%23e2e8f0%22%20d%3D%22m232%20256l24%2084l24-84h-48z%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E") no-repeat center / contain;
}

This icon is animated. Browsers do not run SVG animation inside a CSS mask, so the rule above uses a still of the drawn icon. Inline the SVG (or use the React/Vue/Svelte snippet) to keep the animation.

Direct links: SVG · download · JSON · https://iconsdb.app/api/v1/icon/meteocons/compass.svg?color=%231a73e8&size=48

Compass line icon — Meteocons · IconsDB