ICONYZ
English
Magic Hat icon from andrsrxn/icons

Magic Hat icon

andrsrxn:magic-hat

The Magic Hat icon (andrsrxn:magic-hat) is a free SVG icon from the andrsrxn/icons set by Andrés Raxón. It is drawn on a 24 × 24 grid. andrsrxn/icons are released under the MIT 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
andrsrxn/icons
Author
Andrés Raxón
License
MIT
Size
24 × 24
Category
Symbols
Tags
magichat
Download SVG

SVG code

<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><g fill="none"><path fill="currentColor" d="M18.9 14.16v3.96c0 1.89 0 2.83-.58 3.41s-1.53.59-3.41.59H9.09c-1.88 0-2.83 0-3.41-.59c-.59-.58-.59-1.52-.59-3.41v-3.96l6.61.74z" opacity=".2"/><path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5" d="M18.9 14.5v3.36c0 1.51 0 2.27-.67 3.1c-.68.83-1.23.94-2.34 1.16c-1.02.2-2.31.36-3.89.36a20 20 0 0 1-3.89-.36c-1.1-.22-1.66-.33-2.34-1.16s-.68-1.59-.68-3.1v-3.37"/><ellipse cx="12" cy="13.08" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5" rx="2.03" ry="8.55" transform="rotate(90 12 13.08)"/><path fill="currentColor" d="m8.42 5.6l-.68-1.28l-.69 1.28l-1.31.72L7.05 7l.69 1.5l.68-1.5l1.43-.74zm7.66-1.86l-.81-1.52l-.82 1.52l-1.56.87l1.56.8l.82 1.78l.8-1.78l1.7-.88z" opacity=".2"/><path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5" d="M5.26 6.26c1.22 0 2.53-1.32 2.53-2.54m4.53.81c1.46 0 3.01-1.57 3.01-3.01m-5 4.74c-1.22 0-2.54-1.32-2.54-2.54m10.55.81c-1.44 0-3-1.57-3-3.01M5.26 6.26c1.21 0 2.53 1.34 2.53 2.53m4.53-4.26c1.45 0 3.01 1.59 3.01 3m-5-1.27c-1.2 0-2.54 1.32-2.54 2.53m10.55-4.26c-1.42 0-3 1.57-3 3"/></g></svg>

How to use the Magic Hat icon

React

import { Icon } from "@iconify/react";

<Icon icon="andrsrxn:magic-hat" width="24" />

Vue

<script setup>
import { Icon } from "@iconify/vue";
</script>

<template>
  <Icon icon="andrsrxn:magic-hat" width="24" />
</template>

Svelte

<script>
  import Icon from "@iconify/svelte";
</script>

<Icon icon="andrsrxn:magic-hat" width="24" />

Tailwind CSS

<!-- @iconify/tailwind plugin -->
<span class="icon-[andrsrxn--magic-hat]"></span>

UnoCSS

<!-- @unocss/preset-icons + @iconify-json/andrsrxn -->
<div class="i-andrsrxn:magic-hat"></div>

Web component

<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>

<iconify-icon icon="andrsrxn:magic-hat"></iconify-icon>

HTML image

<img src="https://iconyz.com/api/public/svg/andrsrxn/magic-hat.svg" alt="Magic Hat icon" width="24" height="24">

Related icons in andrsrxn/icons

Magic Hat icon in other icon sets

Magic Hat icon FAQ

Is the Magic Hat icon free for commercial use?

Yes. andrsrxn/icons are released under the MIT 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="andrsrxn: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/andrsrxn/magic-hat.svg" alt="Magic Hat icon">, or paste the SVG code inline to style it with CSS.

Browse all andrsrxn/icons →