compass icon
compass from BoxIcons v2 Solid by Boxicons · Solid · MIT Free for personal and commercial use.
- Name
- compass
- Set
- BoxIcons v2 Solid
- Style
- Solid
- Viewbox
- 24×24
- License
- MIT
The same icon in other sets
compassBootstrap IconscompassBoxIcons v2compassCarboncompass-fillEva IconscompassFramework7 IconscompassFont Awesome 6 RegularcompassFont Awesome 6 SolidcompassFeather IconscompassFluent EmojicompassFluent Emoji FlatcompassFluent Emoji High ContrastcompassHuge IconscompassIconoircompassIonIconscompassJam IconscompassLine AwesomecompassMaterial Line IconscompassSVG LogoscompassLucidecompassMage IconscompassMajesticonscompassMaterial Design Iconscompass-fillMingCute IconcompassNoto Emoji
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="M12 2C6.486 2 2 6.486 2 12s4.486 10 10 10s10-4.486 10-10S17.514 2 12 2m3 13l-8 2l2-8l8-2z"/><circle cx="12" cy="12" r="2" fill="currentColor"/></svg>
React
import type { SVGProps } from "react";
export function BxsCompass(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="M12 2C6.486 2 2 6.486 2 12s4.486 10 10 10s10-4.486 10-10S17.514 2 12 2m3 13l-8 2l2-8l8-2z"/><circle cx="12" cy="12" r="2" fill="currentColor"/></svg>
);
}
Vue
<template> <svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 24 24"><path fill="currentColor" d="M12 2C6.486 2 2 6.486 2 12s4.486 10 10 10s10-4.486 10-10S17.514 2 12 2m3 13l-8 2l2-8l8-2z"/><circle cx="12" cy="12" r="2" fill="currentColor"/></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%22M12%202C6.486%202%202%206.486%202%2012s4.486%2010%2010%2010s10-4.486%2010-10S17.514%202%2012%202m3%2013l-8%202l2-8l8-2z%22%2F%3E%3Ccircle%20cx%3D%2212%22%20cy%3D%2212%22%20r%3D%222%22%20fill%3D%22currentColor%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%22M12%202C6.486%202%202%206.486%202%2012s4.486%2010%2010%2010s10-4.486%2010-10S17.514%202%2012%202m3%2013l-8%202l2-8l8-2z%22%2F%3E%3Ccircle%20cx%3D%2212%22%20cy%3D%2212%22%20r%3D%222%22%20fill%3D%22currentColor%22%2F%3E%3C%2Fsvg%3E") no-repeat center / contain;
}Direct links: SVG · download · JSON · https://iconsdb.app/api/v1/icon/bxs/compass.svg?color=%231a73e8&size=48