baseball-cap from IconPark Outline by ByteDance · Outline · Clothes · Apache-2.0 Free for personal and commercial use.

Name
baseball-cap
Set
IconPark Outline
Style
Outline
Category
Clothes
Viewbox
48×48
License
Apache 2.0

The same icon in other sets

More clothes icons from IconPark Outline

Use the baseball cap icon

SVG

<svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 48 48"><g fill="none" stroke="currentColor" stroke-width="4"><path stroke-linecap="round" stroke-linejoin="round" d="M12 30c0-8.837 7.163-16 16-16v0c8.837 0 16 7.163 16 16v6H12z"/><path d="M22 36c-1-3.5-1-22 6-22s6.5 18 6 22"/><rect width="30" height="6" x="4" y="36" stroke-linecap="round" stroke-linejoin="round" rx="3"/><circle cx="28" cy="10" r="4"/></g></svg>

React

import type { SVGProps } from "react";

export function IconParkOutlineBaseballCap(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="currentColor" strokeWidth="4"><path strokeLinecap="round" strokeLinejoin="round" d="M12 30c0-8.837 7.163-16 16-16v0c8.837 0 16 7.163 16 16v6H12z"/><path d="M22 36c-1-3.5-1-22 6-22s6.5 18 6 22"/><rect width="30" height="6" x="4" y="36" strokeLinecap="round" strokeLinejoin="round" rx="3"/><circle cx="28" cy="10" r="4"/></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="currentColor" stroke-width="4"><path stroke-linecap="round" stroke-linejoin="round" d="M12 30c0-8.837 7.163-16 16-16v0c8.837 0 16 7.163 16 16v6H12z"/><path d="M22 36c-1-3.5-1-22 6-22s6.5 18 6 22"/><rect width="30" height="6" x="4" y="36" stroke-linecap="round" stroke-linejoin="round" rx="3"/><circle cx="28" cy="10" r="4"/></g></svg>
</template>

CSS

.icon-baseball-cap {
  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%22currentColor%22%20stroke-width%3D%224%22%3E%3Cpath%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%20d%3D%22M12%2030c0-8.837%207.163-16%2016-16v0c8.837%200%2016%207.163%2016%2016v6H12z%22%2F%3E%3Cpath%20d%3D%22M22%2036c-1-3.5-1-22%206-22s6.5%2018%206%2022%22%2F%3E%3Crect%20width%3D%2230%22%20height%3D%226%22%20x%3D%224%22%20y%3D%2236%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%20rx%3D%223%22%2F%3E%3Ccircle%20cx%3D%2228%22%20cy%3D%2210%22%20r%3D%224%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%22currentColor%22%20stroke-width%3D%224%22%3E%3Cpath%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%20d%3D%22M12%2030c0-8.837%207.163-16%2016-16v0c8.837%200%2016%207.163%2016%2016v6H12z%22%2F%3E%3Cpath%20d%3D%22M22%2036c-1-3.5-1-22%206-22s6.5%2018%206%2022%22%2F%3E%3Crect%20width%3D%2230%22%20height%3D%226%22%20x%3D%224%22%20y%3D%2236%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%20rx%3D%223%22%2F%3E%3Ccircle%20cx%3D%2228%22%20cy%3D%2210%22%20r%3D%224%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-outline/baseball-cap.svg?color=%231a73e8&size=48