hat-line from MingCute Icon by MingCute Design · Line · Apache-2.0 Free for personal and commercial use.

Name
hat-line
Set
MingCute Icon
Style
Line
Viewbox
24×24
License
Apache 2.0

1 other variant in MingCute Icon

The same icon in other sets

Related icons in MingCute Icon

Use the hat icon

SVG

<svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 24 24"><path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="m5.93 14.52l.802-6.386a2 2 0 0 1 2.377-1.712l2.499.5a2 2 0 0 0 .784 0l2.5-.5a2 2 0 0 1 2.376 1.712l.802 6.386M21 16c0 1.105-4.03 2-9 2s-9-.895-9-2s4.03-2 9-2s9 .895 9 2"/></svg>

React

import type { SVGProps } from "react";

export function MingcuteHatLine(props: SVGProps<SVGSVGElement>) {
  return (
    <svg {...props} xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 24 24"><path fill="none" stroke="currentColor" strokeLinecap="round" strokeLinejoin="round" strokeWidth="2" d="m5.93 14.52l.802-6.386a2 2 0 0 1 2.377-1.712l2.499.5a2 2 0 0 0 .784 0l2.5-.5a2 2 0 0 1 2.376 1.712l.802 6.386M21 16c0 1.105-4.03 2-9 2s-9-.895-9-2s4.03-2 9-2s9 .895 9 2"/></svg>
  );
}

Vue

<template>
  <svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 24 24"><path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="m5.93 14.52l.802-6.386a2 2 0 0 1 2.377-1.712l2.499.5a2 2 0 0 0 .784 0l2.5-.5a2 2 0 0 1 2.376 1.712l.802 6.386M21 16c0 1.105-4.03 2-9 2s-9-.895-9-2s4.03-2 9-2s9 .895 9 2"/></svg>
</template>

CSS

.icon-hat-line {
  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%2024%2024%22%3E%3Cpath%20fill%3D%22none%22%20stroke%3D%22currentColor%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%20stroke-width%3D%222%22%20d%3D%22m5.93%2014.52l.802-6.386a2%202%200%200%201%202.377-1.712l2.499.5a2%202%200%200%200%20.784%200l2.5-.5a2%202%200%200%201%202.376%201.712l.802%206.386M21%2016c0%201.105-4.03%202-9%202s-9-.895-9-2s4.03-2%209-2s9%20.895%209%202%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%2024%2024%22%3E%3Cpath%20fill%3D%22none%22%20stroke%3D%22currentColor%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%20stroke-width%3D%222%22%20d%3D%22m5.93%2014.52l.802-6.386a2%202%200%200%201%202.377-1.712l2.499.5a2%202%200%200%200%20.784%200l2.5-.5a2%202%200%200%201%202.376%201.712l.802%206.386M21%2016c0%201.105-4.03%202-9%202s-9-.895-9-2s4.03-2%209-2s9%20.895%209%202%22%2F%3E%3C%2Fsvg%3E") no-repeat center / contain;
}

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