Hat 2 Line icon
mingcute:hat-2-line
The Hat 2 Line icon (mingcute:hat-2-line) is a free SVG icon from the MingCute Icon set by MingCute Design. It is drawn on a 24 × 24 grid. MingCute Icon icons are released under the Apache 2.0 license, which allows use in personal and commercial projects. Copy it as SVG, JSX, Vue or Svelte code, or download the SVG file.
- Icon set
- MingCute Icon
- Author
- MingCute Design
- License
- Apache-2.0
- Size
- 24 × 24
- Tags
- hatline
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="currentColor" d="M7 13H6a1 1 0 0 0 .629.928zm14 2l.1.995A1 1 0 0 0 22 15zm-6-9h-1a1 1 0 0 0 .293.707zM3 16.5l-.614-.79a1 1 0 0 0-.093 1.497zm3 .5l.406-.914zm9-10.5a1 1 0 1 0 2 0zm6 6.5h-1v2h2v-2zM7 13l-.371.928c5.152 2.061 9.314 2.583 14.47 2.067L21 15l-.1-.995c-4.843.484-8.681.006-13.529-1.934zm8-7l-.707.707c.589.59 1.271 1.788 1.679 3.303c.403 1.498.505 3.182.066 4.715L17 15l.962.275c.561-1.967.413-4.033-.059-5.785c-.467-1.735-1.285-3.286-2.196-4.197zm-7.5 7l-.614-.79l-4.5 3.5l.614.79l.614.79l4.5-3.5zM3 16.5l-.707.707a1.52 1.52 0 0 0 1.1.457c.15 0 .289-.017.383-.03c.113-.015.178-.026.272-.036c.272-.03.717-.052 1.546.316L6 17l.406-.914c-1.171-.52-1.976-.543-2.579-.476c-.125.014-.255.034-.32.043c-.083.011-.104.011-.103.011a.5.5 0 0 1 .303.129zm3 .5l-.406.914c1.064.473 2.143 1.008 3.128 1.393c1.018.397 2.072.693 3.216.693c2.335 0 4.703-1.227 7.77-4.293L19 15l-.707-.707C15.359 17.227 13.477 18 11.938 18c-.794 0-1.585-.204-2.489-.557c-.936-.365-1.857-.83-3.043-1.357zm9-11h1v-.5h-2V6zm1-.5h-1v1h2v-1zm-1 0h1a.5.5 0 0 1-.5.5V4A1.5 1.5 0 0 0 14 5.5zM14 6v1a6 6 0 0 1 6 6h2a8 8 0 0 0-8-8zm1.5-1v1a.5.5 0 0 1-.5-.5h2A1.5 1.5 0 0 0 15.5 4zM7 13h1a6 6 0 0 1 6-6V5a8 8 0 0 0-8 8z"/></svg>How to use the Hat 2 Line icon
React
import { Icon } from "@iconify/react";
<Icon icon="mingcute:hat-2-line" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="mingcute:hat-2-line" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="mingcute:hat-2-line" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[mingcute--hat-2-line]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/mingcute -->
<div class="i-mingcute:hat-2-line"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="mingcute:hat-2-line"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/mingcute/hat-2-line.svg" alt="Hat 2 Line icon" width="24" height="24">Related icons in MingCute Icon
Hat 2 Line icon FAQ
Is the Hat 2 Line icon free for commercial use?
Yes. MingCute Icon icons are released under the Apache 2.0 license, which allows use in personal and commercial projects.
How do I use the Hat 2 Line icon in React?
Install @iconify/react and render <Icon icon="mingcute:hat-2-line" />, or use “Copy code” on this page to get a standalone React component.
How do I add the Hat 2 Line icon to a web page?
Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/mingcute/hat-2-line.svg" alt="Hat 2 Line icon">, or paste the SVG code inline to style it with CSS.