magic hat icon

magic-hat from IconPark by ByteDance · Color · Clothes · Apache-2.0 Free for personal and commercial use.

Name
magic-hat
Set
IconPark
Style
Color
Category
Clothes
Viewbox
48×48
License
Apache 2.0

The same icon in other sets

More clothes icons from IconPark

Use the magic hat 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-width="4"><path stroke-linecap="round" stroke-linejoin="round" d="M10 10C10.5 13 11 14.5 11.5 18C11.9 20.8 12 25.1667 12 27C9.83333 28 5 30 5 34C5 38 10 43 24 43C38 43 43 38 43 34C43 30 36 27 36 27C36 27 36 21.5 36.5 18C37 14.5 37.5 13 38 10"/><path stroke-linecap="round" stroke-linejoin="round" d="M36 27C36 31 35 35 23.5 35"/><ellipse cx="24" cy="10" rx="14" ry="5"/></g></svg>

React

import type { SVGProps } from "react";

export function IconParkMagicHat(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" strokeWidth="4"><path strokeLinecap="round" strokeLinejoin="round" d="M10 10C10.5 13 11 14.5 11.5 18C11.9 20.8 12 25.1667 12 27C9.83333 28 5 30 5 34C5 38 10 43 24 43C38 43 43 38 43 34C43 30 36 27 36 27C36 27 36 21.5 36.5 18C37 14.5 37.5 13 38 10"/><path strokeLinecap="round" strokeLinejoin="round" d="M36 27C36 31 35 35 23.5 35"/><ellipse cx="24" cy="10" rx="14" ry="5"/></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-width="4"><path stroke-linecap="round" stroke-linejoin="round" d="M10 10C10.5 13 11 14.5 11.5 18C11.9 20.8 12 25.1667 12 27C9.83333 28 5 30 5 34C5 38 10 43 24 43C38 43 43 38 43 34C43 30 36 27 36 27C36 27 36 21.5 36.5 18C37 14.5 37.5 13 38 10"/><path stroke-linecap="round" stroke-linejoin="round" d="M36 27C36 31 35 35 23.5 35"/><ellipse cx="24" cy="10" rx="14" ry="5"/></g></svg>
</template>

CSS

.icon-magic-hat {
  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-width%3D%224%22%3E%3Cpath%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%20d%3D%22M10%2010C10.5%2013%2011%2014.5%2011.5%2018C11.9%2020.8%2012%2025.1667%2012%2027C9.83333%2028%205%2030%205%2034C5%2038%2010%2043%2024%2043C38%2043%2043%2038%2043%2034C43%2030%2036%2027%2036%2027C36%2027%2036%2021.5%2036.5%2018C37%2014.5%2037.5%2013%2038%2010%22%2F%3E%3Cpath%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%20d%3D%22M36%2027C36%2031%2035%2035%2023.5%2035%22%2F%3E%3Cellipse%20cx%3D%2224%22%20cy%3D%2210%22%20rx%3D%2214%22%20ry%3D%225%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-width%3D%224%22%3E%3Cpath%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%20d%3D%22M10%2010C10.5%2013%2011%2014.5%2011.5%2018C11.9%2020.8%2012%2025.1667%2012%2027C9.83333%2028%205%2030%205%2034C5%2038%2010%2043%2024%2043C38%2043%2043%2038%2043%2034C43%2030%2036%2027%2036%2027C36%2027%2036%2021.5%2036.5%2018C37%2014.5%2037.5%2013%2038%2010%22%2F%3E%3Cpath%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%20d%3D%22M36%2027C36%2031%2035%2035%2023.5%2035%22%2F%3E%3Cellipse%20cx%3D%2224%22%20cy%3D%2210%22%20rx%3D%2214%22%20ry%3D%225%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/magic-hat.svg?color=%231a73e8&size=48