Magic Hat 2 Line icon
mingcute:magic-hat-2-line
The Magic Hat 2 Line icon (mingcute:magic-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
- magichat, hatline, magichatline
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="none" stroke="currentColor" stroke-width="2" d="M8 14c0 2.035-.46 4.07-.756 5.169c-.13.48.09.99.56 1.152c.852.292 2.331.679 4.196.679s3.344-.387 4.195-.679c.471-.162.69-.672.561-1.152C16.46 18.07 16 16.035 16 14m3-3c0 1.657-3.134 3-7 3s-7-1.343-7-3s3.134-3 7-3s7 1.343 7 3Z"/><path fill="currentColor" d="M15 11c0-.552-1.343-1-3-1s-3 .448-3 1c0 .553 1.343 1 3 1s3-.447 3-1"/><path fill="currentColor" fill-rule="evenodd" d="M9.44 1.432a5.64 5.64 0 0 1-2.133 2.365c-.314.193-.288.23 0 .407a5.64 5.64 0 0 1 2.134 2.365c.216.45.25.402.443 0a5.64 5.64 0 0 1 2.134-2.365c.315-.193.288-.23 0-.407a5.64 5.64 0 0 1-2.134-2.365c-.193-.402-.227-.45-.443 0m6.393 1.856c-.354.652-.91 1.2-1.603 1.577c-.238.13-.216.153 0 .271a3.96 3.96 0 0 1 1.603 1.577c.16.297.187.27.333 0a3.96 3.96 0 0 1 1.602-1.577c.238-.13.216-.154 0-.271a3.96 3.96 0 0 1-1.602-1.577c-.146-.27-.173-.297-.334 0" clip-rule="evenodd"/></svg>How to use the Magic Hat 2 Line icon
React
import { Icon } from "@iconify/react";
<Icon icon="mingcute:magic-hat-2-line" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="mingcute:magic-hat-2-line" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="mingcute:magic-hat-2-line" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[mingcute--magic-hat-2-line]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/mingcute -->
<div class="i-mingcute:magic-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:magic-hat-2-line"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/mingcute/magic-hat-2-line.svg" alt="Magic Hat 2 Line icon" width="24" height="24">Related icons in MingCute Icon
Magic Hat 2 Line icon FAQ
Is the Magic 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 Magic Hat 2 Line icon in React?
Install @iconify/react and render <Icon icon="mingcute:magic-hat-2-line" />, or use “Copy code” on this page to get a standalone React component.
How do I add the Magic 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/magic-hat-2-line.svg" alt="Magic Hat 2 Line icon">, or paste the SVG code inline to style it with CSS.