crosshair icon
crosshair from BoxIcons v2 by Boxicons · Regular · MIT Free for personal and commercial use.
- Name
- crosshair
- Set
- BoxIcons v2
- Style
- Regular
- Viewbox
- 24×24
- License
- MIT
- Aliases
- bx-crosshair
The same icon in other sets
Use the crosshair 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 2m1 17.931V17h-2v2.931A8.01 8.01 0 0 1 4.069 13H7v-2H4.069A8.01 8.01 0 0 1 11 4.069V7h2V4.069A8.01 8.01 0 0 1 19.931 11H17v2h2.931A8.01 8.01 0 0 1 13 19.931"/></svg>
React
import type { SVGProps } from "react";
export function BxCrosshair(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 2m1 17.931V17h-2v2.931A8.01 8.01 0 0 1 4.069 13H7v-2H4.069A8.01 8.01 0 0 1 11 4.069V7h2V4.069A8.01 8.01 0 0 1 19.931 11H17v2h2.931A8.01 8.01 0 0 1 13 19.931"/></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 2m1 17.931V17h-2v2.931A8.01 8.01 0 0 1 4.069 13H7v-2H4.069A8.01 8.01 0 0 1 11 4.069V7h2V4.069A8.01 8.01 0 0 1 19.931 11H17v2h2.931A8.01 8.01 0 0 1 13 19.931"/></svg> </template>
CSS
.icon-crosshair {
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%202m1%2017.931V17h-2v2.931A8.01%208.01%200%200%201%204.069%2013H7v-2H4.069A8.01%208.01%200%200%201%2011%204.069V7h2V4.069A8.01%208.01%200%200%201%2019.931%2011H17v2h2.931A8.01%208.01%200%200%201%2013%2019.931%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%202m1%2017.931V17h-2v2.931A8.01%208.01%200%200%201%204.069%2013H7v-2H4.069A8.01%208.01%200%200%201%2011%204.069V7h2V4.069A8.01%208.01%200%200%201%2019.931%2011H17v2h2.931A8.01%208.01%200%200%201%2013%2019.931%22%2F%3E%3C%2Fsvg%3E") no-repeat center / contain;
}Direct links: SVG · download · JSON · https://iconsdb.app/api/v1/icon/bx/crosshair.svg?color=%231a73e8&size=48