Gentleface › Shopping › tag
tag icon
tagTag: tag, label, category, price. Drawn on the 16 px grid. Free SVG, PNG and code, MIT licensed. Part of the free toolbar icon set.
Animated tag-hang · line-round
A slack string threads down to the hole. It snaps taut as the tag drops off its corner and swings under the hole until it hangs straight, then the tag is laid back and the string pulls out.
Native SVG animation, with no CSS or script. It loops by itself. Inline it to take the text color: in an <img> it draws black. To play it once on hover or click, run 0.2 s to 2.85 s. Examples and helper.
Code line-round
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16" fill="currentColor" aria-hidden="true"><path d="M14.214 7.706C14.324 7.959 14.379 8.224 14.379 8.5C14.379 8.776 14.324 9.041 14.214 9.294C14.113 9.528 13.973 9.734 13.793 9.914L9.914 13.793C9.734 13.973 9.528 14.113 9.294 14.214C9.041 14.324 8.776 14.379 8.5 14.379C8.224 14.379 7.959 14.324 7.706 14.214C7.472 14.113 7.266 13.973 7.086 13.793L1.854 8.561C1.58 8.287 1.37 7.972 1.222 7.615C1.074 7.258 1 6.886 1 6.5L1 3C1 2.746 1.047 2.5 1.14 2.264C1.242 2.007 1.391 1.781 1.586 1.586C1.781 1.391 2.007 1.242 2.264 1.14C2.5 1.047 2.746 1 3 1L6.5 1C6.886 1 7.258 1.074 7.615 1.222C7.972 1.37 8.287 1.58 8.561 1.854L13.793 7.086C13.973 7.266 14.113 7.472 14.214 7.706ZM2.146 7.233C2.243 7.467 2.381 7.674 2.561 7.854L7.793 13.086C7.988 13.281 8.224 13.379 8.5 13.379C8.776 13.379 9.012 13.281 9.207 13.086L13.086 9.207C13.281 9.012 13.379 8.776 13.379 8.5C13.379 8.224 13.281 7.988 13.086 7.793L7.854 2.561C7.674 2.381 7.467 2.243 7.233 2.146C6.998 2.049 6.754 2 6.5 2L3 2C2.724 2 2.488 2.098 2.293 2.293C2.098 2.488 2 2.724 2 3L2 6.5C2 6.754 2.049 6.998 2.146 7.233ZM5.707 4.293C5.902 4.488 6 4.724 6 5C6 5.276 5.902 5.512 5.707 5.707C5.512 5.902 5.276 6 5 6C4.724 6 4.488 5.902 4.293 5.707C4.098 5.512 4 5.276 4 5C4 4.724 4.098 4.488 4.293 4.293C4.488 4.098 4.724 4 5 4C5.276 4 5.512 4.098 5.707 4.293Z"/></svg>
// Gentleface "tag" (line-round), MIT. https://gentleface.com/icons/tag
import type { SVGProps } from 'react';
export function TagIcon(props: SVGProps<SVGSVGElement>) {
return (
<svg xmlns="http://www.w3.org/2000/svg" width={16} height={16} viewBox="0 0 16 16" fill="currentColor" aria-hidden="true" {...props}>
<path d="M14.214 7.706C14.324 7.959 14.379 8.224 14.379 8.5C14.379 8.776 14.324 9.041 14.214 9.294C14.113 9.528 13.973 9.734 13.793 9.914L9.914 13.793C9.734 13.973 9.528 14.113 9.294 14.214C9.041 14.324 8.776 14.379 8.5 14.379C8.224 14.379 7.959 14.324 7.706 14.214C7.472 14.113 7.266 13.973 7.086 13.793L1.854 8.561C1.58 8.287 1.37 7.972 1.222 7.615C1.074 7.258 1 6.886 1 6.5L1 3C1 2.746 1.047 2.5 1.14 2.264C1.242 2.007 1.391 1.781 1.586 1.586C1.781 1.391 2.007 1.242 2.264 1.14C2.5 1.047 2.746 1 3 1L6.5 1C6.886 1 7.258 1.074 7.615 1.222C7.972 1.37 8.287 1.58 8.561 1.854L13.793 7.086C13.973 7.266 14.113 7.472 14.214 7.706ZM2.146 7.233C2.243 7.467 2.381 7.674 2.561 7.854L7.793 13.086C7.988 13.281 8.224 13.379 8.5 13.379C8.776 13.379 9.012 13.281 9.207 13.086L13.086 9.207C13.281 9.012 13.379 8.776 13.379 8.5C13.379 8.224 13.281 7.988 13.086 7.793L7.854 2.561C7.674 2.381 7.467 2.243 7.233 2.146C6.998 2.049 6.754 2 6.5 2L3 2C2.724 2 2.488 2.098 2.293 2.293C2.098 2.488 2 2.724 2 3L2 6.5C2 6.754 2.049 6.998 2.146 7.233ZM5.707 4.293C5.902 4.488 6 4.724 6 5C6 5.276 5.902 5.512 5.707 5.707C5.512 5.902 5.276 6 5 6C4.724 6 4.488 5.902 4.293 5.707C4.098 5.512 4 5.276 4 5C4 4.724 4.098 4.488 4.293 4.293C4.488 4.098 4.724 4 5 4C5.276 4 5.512 4.098 5.707 4.293Z" />
</svg>
);
}Vue: see /icons/tag.md
Svelte: see /icons/tag.md
HTML img: see /icons/tag.md
CSS: see /icons/tag.md
Data URL: see /icons/tag.md
Sprite: see /icons/tag.md
SwiftUI: see /icons/tag.md
Compose: see /icons/tag.md
Android XML: see /icons/tag.md
Flutter: see /icons/tag.md
Each icon is drawn on the 16 px grid, and most also on the 20 and 24 px grids (at 24 in three weights: light 1 px, regular 1.5 px, bold 2 px). Show the drawing made for your size, or an exact multiple of it, on whole pixels: 16 for 16 and 32 px, 20 for 20 and 40, 24 for 24 and 48. A size in between or a fractional position blurs it. The code on each icon page is the 16 px drawing, an SVG with fill="currentColor"; the icon page's downloads follow its Grid switch, and npm has the 20 and 24 px drawings too. The snippets are decorative (aria-hidden). For an icon that carries meaning on its own, such as an icon-only button, label the button, or give the SVG role="img" and an aria-label. More in how to use.
With npm: import { TagIcon } from '@gentleface/react'; (setup).
Meaning
- Use it for
- tag, label, category, price, price tag, pricing, cost basis, price label, strike price, price list, shelf label, data labeling, data annotation
- Alternatives
tags: a tag list or tag managertag-percent: discount or sale price
- Don’t confuse with
- Also fits
- product: price or label of a product
- tag list: a single tag or label
- pill: a pill-shaped tag, chip or label in a UI
- Not for
- Tags
- label, category, tagging, price-tag, classify
- Category
- Shopping
- Component name
TagIcon- History
- added
- released in 0.1.0
- 20 px drawn, 24 px drawn
- Since
- version 0.1.0
Family 15
More shopping icons
arrows-up-from-line barcode barcode-off baseball-cap beanie belt boot boot-buckle bow-tie box-heart cash-register catalog clothes-rack dress earrings flip-flops · all shopping icons
For agents
Metadata: /icons/tag.json · Markdown: /icons/tag.md · SVG: https://gentleface.com/svg/{style}/16/tag.svg · PNG: https://gentleface.com/png/{style}/{16|32|48}/tag.png