compass icon
compass from Prime Icons by PrimeTek · Regular · MIT Free for personal and commercial use.
- Name
- compass
- Set
- Prime Icons
- Style
- Regular
- Viewbox
- 24×24
- License
- MIT
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
Use the compass icon
SVG
<svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 24 24"><path fill="currentColor" d="m15.94 7.62l-4.88 2a2.63 2.63 0 0 0-1.48 1.48l-2 4.88a.34.34 0 0 0 .19.44a.36.36 0 0 0 .25 0l4.88-2a2.63 2.63 0 0 0 1.48-1.48l2-4.88a.34.34 0 0 0-.19-.44a.36.36 0 0 0-.25 0M12 13a1 1 0 1 1 1-1a1 1 0 0 1-1 1"/><path fill="currentColor" d="M12 21a9 9 0 1 1 9-9a9 9 0 0 1-9 9m0-16.5a7.5 7.5 0 1 0 7.5 7.5A7.5 7.5 0 0 0 12 4.5"/></svg>
React
import type { SVGProps } from "react";
export function PrimeCompass(props: SVGProps<SVGSVGElement>) {
return (
<svg {...props} xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 24 24"><path fill="currentColor" d="m15.94 7.62l-4.88 2a2.63 2.63 0 0 0-1.48 1.48l-2 4.88a.34.34 0 0 0 .19.44a.36.36 0 0 0 .25 0l4.88-2a2.63 2.63 0 0 0 1.48-1.48l2-4.88a.34.34 0 0 0-.19-.44a.36.36 0 0 0-.25 0M12 13a1 1 0 1 1 1-1a1 1 0 0 1-1 1"/><path fill="currentColor" d="M12 21a9 9 0 1 1 9-9a9 9 0 0 1-9 9m0-16.5a7.5 7.5 0 1 0 7.5 7.5A7.5 7.5 0 0 0 12 4.5"/></svg>
);
}
Vue
<template> <svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 24 24"><path fill="currentColor" d="m15.94 7.62l-4.88 2a2.63 2.63 0 0 0-1.48 1.48l-2 4.88a.34.34 0 0 0 .19.44a.36.36 0 0 0 .25 0l4.88-2a2.63 2.63 0 0 0 1.48-1.48l2-4.88a.34.34 0 0 0-.19-.44a.36.36 0 0 0-.25 0M12 13a1 1 0 1 1 1-1a1 1 0 0 1-1 1"/><path fill="currentColor" d="M12 21a9 9 0 1 1 9-9a9 9 0 0 1-9 9m0-16.5a7.5 7.5 0 1 0 7.5 7.5A7.5 7.5 0 0 0 12 4.5"/></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%3Cpath%20fill%3D%22currentColor%22%20d%3D%22m15.94%207.62l-4.88%202a2.63%202.63%200%200%200-1.48%201.48l-2%204.88a.34.34%200%200%200%20.19.44a.36.36%200%200%200%20.25%200l4.88-2a2.63%202.63%200%200%200%201.48-1.48l2-4.88a.34.34%200%200%200-.19-.44a.36.36%200%200%200-.25%200M12%2013a1%201%200%201%201%201-1a1%201%200%200%201-1%201%22%2F%3E%3Cpath%20fill%3D%22currentColor%22%20d%3D%22M12%2021a9%209%200%201%201%209-9a9%209%200%200%201-9%209m0-16.5a7.5%207.5%200%201%200%207.5%207.5A7.5%207.5%200%200%200%2012%204.5%22%2F%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%3Cpath%20fill%3D%22currentColor%22%20d%3D%22m15.94%207.62l-4.88%202a2.63%202.63%200%200%200-1.48%201.48l-2%204.88a.34.34%200%200%200%20.19.44a.36.36%200%200%200%20.25%200l4.88-2a2.63%202.63%200%200%200%201.48-1.48l2-4.88a.34.34%200%200%200-.19-.44a.36.36%200%200%200-.25%200M12%2013a1%201%200%201%201%201-1a1%201%200%200%201-1%201%22%2F%3E%3Cpath%20fill%3D%22currentColor%22%20d%3D%22M12%2021a9%209%200%201%201%209-9a9%209%200%200%201-9%209m0-16.5a7.5%207.5%200%201%200%207.5%207.5A7.5%207.5%200%200%200%2012%204.5%22%2F%3E%3C%2Fsvg%3E") no-repeat center / contain;
}Direct links: SVG · download · JSON · https://iconsdb.app/api/v1/icon/prime/compass.svg?color=%231a73e8&size=48