tag icon
tag from Octicons by GitHub · Regular · MIT Free for personal and commercial use.
- Name
- tag
- Set
- Octicons
- Style
- Regular
- Viewbox
- 15×16
- License
- MIT
2 other variants in Octicons
The same icon in other sets
tagAkar Iconstag-filledAnt Design IconstagBootstrap IconstagBoxIcons v2tagBoxIcons v2 SolidtagCarbontagCodiconstagFramework7 IconstagFont Awesome 6 SolidtagFont Awesome SolidtagFeather Iconstag-outlineFlowbite Iconstag-16-filledFluent UI System Iconstagcss.ggtagHeroIconstagHumbleiconstagIconParktagIconPark OutlinetagIconPark SolidtagIconPark TwoTonetagJam IconstagLine AwesometagLucidetagMage Icons
Use the tag icon
SVG
<svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 15 16"><path fill-rule="evenodd" d="M7.73 1.73C7.26 1.26 6.62 1 5.96 1H3.5C2.13 1 1 2.13 1 3.5v2.47c0 .66.27 1.3.73 1.77l6.06 6.06c.39.39 1.02.39 1.41 0l4.59-4.59a.996.996 0 0 0 0-1.41L7.73 1.73zM2.38 7.09c-.31-.3-.47-.7-.47-1.13V3.5c0-.88.72-1.59 1.59-1.59h2.47c.42 0 .83.16 1.13.47l6.14 6.13l-4.73 4.73l-6.13-6.15zM3.01 3h2v2H3V3h.01z" fill="currentColor"/></svg>
React
import type { SVGProps } from "react";
export function OcticonTag(props: SVGProps<SVGSVGElement>) {
return (
<svg {...props} xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 15 16"><path fillRule="evenodd" d="M7.73 1.73C7.26 1.26 6.62 1 5.96 1H3.5C2.13 1 1 2.13 1 3.5v2.47c0 .66.27 1.3.73 1.77l6.06 6.06c.39.39 1.02.39 1.41 0l4.59-4.59a.996.996 0 0 0 0-1.41L7.73 1.73zM2.38 7.09c-.31-.3-.47-.7-.47-1.13V3.5c0-.88.72-1.59 1.59-1.59h2.47c.42 0 .83.16 1.13.47l6.14 6.13l-4.73 4.73l-6.13-6.15zM3.01 3h2v2H3V3h.01z" fill="currentColor"/></svg>
);
}
Vue
<template> <svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 15 16"><path fill-rule="evenodd" d="M7.73 1.73C7.26 1.26 6.62 1 5.96 1H3.5C2.13 1 1 2.13 1 3.5v2.47c0 .66.27 1.3.73 1.77l6.06 6.06c.39.39 1.02.39 1.41 0l4.59-4.59a.996.996 0 0 0 0-1.41L7.73 1.73zM2.38 7.09c-.31-.3-.47-.7-.47-1.13V3.5c0-.88.72-1.59 1.59-1.59h2.47c.42 0 .83.16 1.13.47l6.14 6.13l-4.73 4.73l-6.13-6.15zM3.01 3h2v2H3V3h.01z" fill="currentColor"/></svg> </template>
CSS
.icon-tag {
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%2015%2016%22%3E%3Cpath%20fill-rule%3D%22evenodd%22%20d%3D%22M7.73%201.73C7.26%201.26%206.62%201%205.96%201H3.5C2.13%201%201%202.13%201%203.5v2.47c0%20.66.27%201.3.73%201.77l6.06%206.06c.39.39%201.02.39%201.41%200l4.59-4.59a.996.996%200%200%200%200-1.41L7.73%201.73zM2.38%207.09c-.31-.3-.47-.7-.47-1.13V3.5c0-.88.72-1.59%201.59-1.59h2.47c.42%200%20.83.16%201.13.47l6.14%206.13l-4.73%204.73l-6.13-6.15zM3.01%203h2v2H3V3h.01z%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%2015%2016%22%3E%3Cpath%20fill-rule%3D%22evenodd%22%20d%3D%22M7.73%201.73C7.26%201.26%206.62%201%205.96%201H3.5C2.13%201%201%202.13%201%203.5v2.47c0%20.66.27%201.3.73%201.77l6.06%206.06c.39.39%201.02.39%201.41%200l4.59-4.59a.996.996%200%200%200%200-1.41L7.73%201.73zM2.38%207.09c-.31-.3-.47-.7-.47-1.13V3.5c0-.88.72-1.59%201.59-1.59h2.47c.42%200%20.83.16%201.13.47l6.14%206.13l-4.73%204.73l-6.13-6.15zM3.01%203h2v2H3V3h.01z%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/octicon/tag.svg?color=%231a73e8&size=48