target icon
target from Codicons by Microsoft Corporation · Regular · CC-BY-4.0 Attribution required.
- Name
- target
- Set
- Codicons
- Style
- Regular
- Viewbox
- 16×16
- License
- CC BY 4.0
The same icon in other sets
targetCarbontargetFeather Iconstarget-16-filledFluent UI System IconstargetIconParktargetIconPark OutlinetargetJam IconstargetLucidetargetMaterial SymbolstargetMaterial Symbols LighttargetMaterial Design Iconstarget-fillMingCute IcontargetMyna UI IconstargetPhosphortargetPixelarticonstargetRadix Iconstarget-fillRemix IcontargetSimple Iconstarget-boldSolartargetTabler Iconstarget-outlineTeenyicons
Use the target icon
SVG
<svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 16 16"><path fill="currentColor" d="M9 8a1 1 0 1 1-2 0a1 1 0 0 1 2 0m3 0a4 4 0 1 1-8 0a4 4 0 0 1 8 0m-1 0a3 3 0 1 0-6 0a3 3 0 0 0 6 0m4 0A7 7 0 1 1 1 8a7 7 0 0 1 14 0m-1 0A6 6 0 1 0 2 8a6 6 0 0 0 12 0"/></svg>
React
import type { SVGProps } from "react";
export function CodiconTarget(props: SVGProps<SVGSVGElement>) {
return (
<svg {...props} xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 16 16"><path fill="currentColor" d="M9 8a1 1 0 1 1-2 0a1 1 0 0 1 2 0m3 0a4 4 0 1 1-8 0a4 4 0 0 1 8 0m-1 0a3 3 0 1 0-6 0a3 3 0 0 0 6 0m4 0A7 7 0 1 1 1 8a7 7 0 0 1 14 0m-1 0A6 6 0 1 0 2 8a6 6 0 0 0 12 0"/></svg>
);
}
Vue
<template> <svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 16 16"><path fill="currentColor" d="M9 8a1 1 0 1 1-2 0a1 1 0 0 1 2 0m3 0a4 4 0 1 1-8 0a4 4 0 0 1 8 0m-1 0a3 3 0 1 0-6 0a3 3 0 0 0 6 0m4 0A7 7 0 1 1 1 8a7 7 0 0 1 14 0m-1 0A6 6 0 1 0 2 8a6 6 0 0 0 12 0"/></svg> </template>
CSS
.icon-target {
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%2016%2016%22%3E%3Cpath%20fill%3D%22currentColor%22%20d%3D%22M9%208a1%201%200%201%201-2%200a1%201%200%200%201%202%200m3%200a4%204%200%201%201-8%200a4%204%200%200%201%208%200m-1%200a3%203%200%201%200-6%200a3%203%200%200%200%206%200m4%200A7%207%200%201%201%201%208a7%207%200%200%201%2014%200m-1%200A6%206%200%201%200%202%208a6%206%200%200%200%2012%200%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%2016%2016%22%3E%3Cpath%20fill%3D%22currentColor%22%20d%3D%22M9%208a1%201%200%201%201-2%200a1%201%200%200%201%202%200m3%200a4%204%200%201%201-8%200a4%204%200%200%201%208%200m-1%200a3%203%200%201%200-6%200a3%203%200%200%200%206%200m4%200A7%207%200%201%201%201%208a7%207%200%200%201%2014%200m-1%200A6%206%200%201%200%202%208a6%206%200%200%200%2012%200%22%2F%3E%3C%2Fsvg%3E") no-repeat center / contain;
}Direct links: SVG · download · JSON · https://iconsdb.app/api/v1/icon/codicon/target.svg?color=%231a73e8&size=48