compass icon
compass from Majesticons by Gerrit Halfmann · Solid · MIT Free for personal and commercial use.
- Name
- compass
- Set
- Majesticons
- Style
- Solid
- Viewbox
- 24×24
- License
- MIT
1 other variant in Majesticons
The same icon in other sets
compass-filledAnt Design IconscompassBootstrap IconscompassBoxIcons v2compassBoxIcons v2 SolidcompassCarboncompassCodiconscompassElement Pluscompass-fillEva IconscompassFramework7 IconscompassFont Awesome 6 RegularcompassFont Awesome 6 SolidcompassFont Awesome RegularcompassFont Awesome SolidcompassFeather IconscompassFluent EmojicompassFluent Emoji FlatcompassFluent Emoji High ContrastcompassHuge IconscompassIconParkcompassIconPark OutlinecompassIconPark SolidcompassIconPark TwoTonecompassIconoircompassIonIcons
Related icons in Majesticons
Use the compass icon
SVG
<svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 24 24"><g fill="none"><path fill-rule="evenodd" clip-rule="evenodd" d="M12 2C6.477 2 2 6.477 2 12s4.477 10 10 10s10-4.477 10-10S17.523 2 12 2zm5.191 6.074a1 1 0 0 0-1.265-1.265L9.562 8.93a1 1 0 0 0-.632.632l-2.121 6.364a1 1 0 0 0 1.265 1.265l6.364-2.121a1 1 0 0 0 .632-.633l2.121-6.363zM12 13a1 1 0 1 0 0-2a1 1 0 0 0 0 2z" fill="currentColor"/></g></svg>
React
import type { SVGProps } from "react";
export function MajesticonsCompass(props: SVGProps<SVGSVGElement>) {
return (
<svg {...props} xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 24 24"><g fill="none"><path fillRule="evenodd" clipRule="evenodd" d="M12 2C6.477 2 2 6.477 2 12s4.477 10 10 10s10-4.477 10-10S17.523 2 12 2zm5.191 6.074a1 1 0 0 0-1.265-1.265L9.562 8.93a1 1 0 0 0-.632.632l-2.121 6.364a1 1 0 0 0 1.265 1.265l6.364-2.121a1 1 0 0 0 .632-.633l2.121-6.363zM12 13a1 1 0 1 0 0-2a1 1 0 0 0 0 2z" fill="currentColor"/></g></svg>
);
}
Vue
<template> <svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 24 24"><g fill="none"><path fill-rule="evenodd" clip-rule="evenodd" d="M12 2C6.477 2 2 6.477 2 12s4.477 10 10 10s10-4.477 10-10S17.523 2 12 2zm5.191 6.074a1 1 0 0 0-1.265-1.265L9.562 8.93a1 1 0 0 0-.632.632l-2.121 6.364a1 1 0 0 0 1.265 1.265l6.364-2.121a1 1 0 0 0 .632-.633l2.121-6.363zM12 13a1 1 0 1 0 0-2a1 1 0 0 0 0 2z" fill="currentColor"/></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%2024%2024%22%3E%3Cg%20fill%3D%22none%22%3E%3Cpath%20fill-rule%3D%22evenodd%22%20clip-rule%3D%22evenodd%22%20d%3D%22M12%202C6.477%202%202%206.477%202%2012s4.477%2010%2010%2010s10-4.477%2010-10S17.523%202%2012%202zm5.191%206.074a1%201%200%200%200-1.265-1.265L9.562%208.93a1%201%200%200%200-.632.632l-2.121%206.364a1%201%200%200%200%201.265%201.265l6.364-2.121a1%201%200%200%200%20.632-.633l2.121-6.363zM12%2013a1%201%200%201%200%200-2a1%201%200%200%200%200%202z%22%20fill%3D%22currentColor%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%2024%2024%22%3E%3Cg%20fill%3D%22none%22%3E%3Cpath%20fill-rule%3D%22evenodd%22%20clip-rule%3D%22evenodd%22%20d%3D%22M12%202C6.477%202%202%206.477%202%2012s4.477%2010%2010%2010s10-4.477%2010-10S17.523%202%2012%202zm5.191%206.074a1%201%200%200%200-1.265-1.265L9.562%208.93a1%201%200%200%200-.632.632l-2.121%206.364a1%201%200%200%200%201.265%201.265l6.364-2.121a1%201%200%200%200%20.632-.633l2.121-6.363zM12%2013a1%201%200%201%200%200-2a1%201%200%200%200%200%202z%22%20fill%3D%22currentColor%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E") no-repeat center / contain;
}Direct links: SVG · download · JSON · https://iconsdb.app/api/v1/icon/majesticons/compass.svg?color=%231a73e8&size=48