badge from IconPark by ByteDance · Color · Abstract · Apache-2.0 Free for personal and commercial use.

Name
badge
Set
IconPark
Style
Color
Category
Abstract
Viewbox
48×48
License
Apache 2.0

The same icon in other sets

More abstract icons from IconPark

Use the badge icon

SVG

<svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 48 48"><g fill="none" stroke="#000" stroke-linecap="round" stroke-linejoin="round" stroke-width="4"><path d="M38 22V40H8V10H26"/><path fill="#2F88FF" d="M38 14C40.2091 14 42 12.2091 42 10C42 7.79086 40.2091 6 38 6C35.7909 6 34 7.79086 34 10C34 12.2091 35.7909 14 38 14Z"/></g></svg>

React

import type { SVGProps } from "react";

export function IconParkBadge(props: SVGProps<SVGSVGElement>) {
  return (
    <svg {...props} xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 48 48"><g fill="none" stroke="#000" strokeLinecap="round" strokeLinejoin="round" strokeWidth="4"><path d="M38 22V40H8V10H26"/><path fill="#2F88FF" d="M38 14C40.2091 14 42 12.2091 42 10C42 7.79086 40.2091 6 38 6C35.7909 6 34 7.79086 34 10C34 12.2091 35.7909 14 38 14Z"/></g></svg>
  );
}

Vue

<template>
  <svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 48 48"><g fill="none" stroke="#000" stroke-linecap="round" stroke-linejoin="round" stroke-width="4"><path d="M38 22V40H8V10H26"/><path fill="#2F88FF" d="M38 14C40.2091 14 42 12.2091 42 10C42 7.79086 40.2091 6 38 6C35.7909 6 34 7.79086 34 10C34 12.2091 35.7909 14 38 14Z"/></g></svg>
</template>

CSS

.icon-badge {
  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%2048%2048%22%3E%3Cg%20fill%3D%22none%22%20stroke%3D%22%23000%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%20stroke-width%3D%224%22%3E%3Cpath%20d%3D%22M38%2022V40H8V10H26%22%2F%3E%3Cpath%20fill%3D%22%232F88FF%22%20d%3D%22M38%2014C40.2091%2014%2042%2012.2091%2042%2010C42%207.79086%2040.2091%206%2038%206C35.7909%206%2034%207.79086%2034%2010C34%2012.2091%2035.7909%2014%2038%2014Z%22%2F%3E%3C%2Fg%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%2048%2048%22%3E%3Cg%20fill%3D%22none%22%20stroke%3D%22%23000%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%20stroke-width%3D%224%22%3E%3Cpath%20d%3D%22M38%2022V40H8V10H26%22%2F%3E%3Cpath%20fill%3D%22%232F88FF%22%20d%3D%22M38%2014C40.2091%2014%2042%2012.2091%2042%2010C42%207.79086%2040.2091%206%2038%206C35.7909%206%2034%207.79086%2034%2010C34%2012.2091%2035.7909%2014%2038%2014Z%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E") no-repeat center / contain;
}

Direct links: SVG · download · JSON · https://iconsdb.app/api/v1/icon/icon-park/badge.svg?color=%231a73e8&size=48