ICONYZ
English
Wizard Hat icon from Material Design Icons

Wizard Hat icon

mdi:wizard-hat

The Wizard Hat icon (mdi:wizard-hat) is a free SVG icon from the Material Design Icons set by Pictogrammers. It is drawn on a 24 × 24 grid. Material Design 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
Material Design Icons
Author
Pictogrammers
License
Apache-2.0
Size
24 × 24
Category
Clothing, Gaming / RPG
Tags
clothing, gaming, rpg, wizardhat
Download SVG

SVG code

<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="currentColor" d="M21 22H3v-2h18zm-2-3H5l6.1-16.4q.3-.6.9-.6l6 3h-4.1zM10 7.5l1.04.47L11.5 9l.47-1.03L13 7.5l-1.03-.47L11.5 6l-.46 1.03zm3 7.5l-2.06-.93L10 12l-.93 2.07L7 15l2.07.93L10 18l.94-2.07zm.97-3.03L15 11.5l-1.03-.47L13.5 10l-.46 1.03l-1.04.47l1.04.47l.46 1.03zm2 4L17 15.5l-1.03-.47L15.5 14l-.46 1.03l-1.04.47l1.04.47l.46 1.03z"/></svg>

How to use the Wizard Hat icon

React

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

<Icon icon="mdi:wizard-hat" width="24" />

Vue

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

<template>
  <Icon icon="mdi:wizard-hat" width="24" />
</template>

Svelte

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

<Icon icon="mdi:wizard-hat" width="24" />

Tailwind CSS

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

UnoCSS

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

Web component

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

<iconify-icon icon="mdi:wizard-hat"></iconify-icon>

HTML image

<img src="https://iconyz.com/api/public/svg/mdi/wizard-hat.svg" alt="Wizard Hat icon" width="24" height="24">

Wizard Hat icon in other icon sets

Wizard Hat icon FAQ

Is the Wizard Hat icon free for commercial use?

Yes. Material Design Icons are released under the Apache 2.0 license, which allows use in personal and commercial projects.

How do I use the Wizard Hat icon in React?

Install @iconify/react and render <Icon icon="mdi:wizard-hat" />, or use “Copy code” on this page to get a standalone React component.

How do I add the Wizard Hat icon to a web page?

Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/mdi/wizard-hat.svg" alt="Wizard Hat icon">, or paste the SVG code inline to style it with CSS.

Browse all Material Design Icons →