Magic Hat icon
icon-park:magic-hat
The Magic Hat icon (icon-park:magic-hat) is a free SVG icon from the IconPark set by ByteDance. It is drawn on a 48 × 48 grid. IconPark 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
- IconPark
- Author
- ByteDance
- License
- Apache-2.0
- Size
- 48 × 48
- Category
- Clothes
- Tags
- magichat
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="48" height="48" 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>How to use the Magic Hat icon
React
import { Icon } from "@iconify/react";
<Icon icon="icon-park:magic-hat" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="icon-park:magic-hat" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="icon-park:magic-hat" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[icon-park--magic-hat]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/icon-park -->
<div class="i-icon-park:magic-hat"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="icon-park:magic-hat"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/icon-park/magic-hat.svg" alt="Magic Hat icon" width="24" height="24">Related icons in IconPark
Magic Hat icon in other icon sets
Magic Hat icon FAQ
Is the Magic Hat icon free for commercial use?
Yes. IconPark icons are released under the Apache 2.0 license, which allows use in personal and commercial projects.
How do I use the Magic Hat icon in React?
Install @iconify/react and render <Icon icon="icon-park:magic-hat" />, or use “Copy code” on this page to get a standalone React component.
How do I add the Magic Hat icon to a web page?
Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/icon-park/magic-hat.svg" alt="Magic Hat icon">, or paste the SVG code inline to style it with CSS.