Top Hat icon
openmoji:top-hat
The Top Hat icon (openmoji:top-hat) is a free SVG icon from the OpenMoji set. It is drawn on a 72 × 72 grid. OpenMoji icons are released under the CC BY-SA 4.0 license, which allows use in personal and commercial projects as long as you credit the author and share changes to the icons under the same license. Copy it as SVG, JSX, Vue or Svelte code, or download the SVG file.
- Icon set
- OpenMoji
- Author
- OpenMoji
- License
- CC-BY-SA-4.0
- Size
- 72 × 72
- Category
- Objects
- Tags
- tophat
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="72" height="72" viewBox="0 0 72 72"><path fill="#fcea2b" d="m52.478 51.5l-15.74 1.94c-.038.002-.35.002-.39 0l-15.76-1.314c-.574-.033-1.021-.48-1.049-1.117l-.927-17.76c-.03-.709.48-1.302 1.12-1.302h33.234c.63 0 1.447.593 1.432 1.291l-.86 17.052c-.014.648-.476 1.175-1.06 1.21"/><path fill="#3f3f3f" d="M55.355 32.376L56.5 7.083h-40l1.145 25.293zM54.5 51.262s-11.29 1.77-17.5 1.77s-18.5-1.77-18.5-1.77c-7.313-1.159-14-2.076-14-.04c0 3.56 14.327 6.447 32 6.447s32-2.886 32-6.447c0-2.036-6.687-1.119-14 .04"/><path fill="none" stroke="#000" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="m55.355 32.376l-.673 14.876L56.5 7.083h-40l1.818 40.169l-.673-14.876zM54.5 51.262s-11.29 1.77-17.5 1.77s-18.5-1.77-18.5-1.77c-7.313-1.159-14-2.076-14-.04c0 3.56 14.327 6.447 32 6.447s32-2.886 32-6.447c0-2.036-6.687-1.119-14 .04"/></svg>How to use the Top Hat icon
React
import { Icon } from "@iconify/react";
<Icon icon="openmoji:top-hat" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="openmoji:top-hat" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="openmoji:top-hat" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[openmoji--top-hat]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/openmoji -->
<div class="i-openmoji:top-hat"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="openmoji:top-hat"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/openmoji/top-hat.svg" alt="Top Hat icon" width="24" height="24">Related icons in OpenMoji
Top Hat icon in other icon sets
Top Hat icon FAQ
Is the Top Hat icon free for commercial use?
Yes. OpenMoji icons are released under the CC BY-SA 4.0 license, which allows use in personal and commercial projects as long as you credit the author and share changes to the icons under the same license.
How do I use the Top Hat icon in React?
Install @iconify/react and render <Icon icon="openmoji:top-hat" />, or use “Copy code” on this page to get a standalone React component.
How do I add the Top Hat icon to a web page?
Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/openmoji/top-hat.svg" alt="Top Hat icon">, or paste the SVG code inline to style it with CSS.