Tophat icon
whh:tophat
The Tophat icon (whh:tophat) is a free SVG icon from the WebHostingHub Glyphs set by WebHostingHub. It is drawn on a 1024 × 1024 grid. WebHostingHub Glyphs icons are released under the Open Font 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
- WebHostingHub Glyphs
- Author
- WebHostingHub
- License
- OFL-1.1
- Size
- 1024 × 1024
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="1024" height="1024" viewBox="0 0 1024 1024"><path fill="currentColor" d="M992 1024H32q-13 0-22.5-9.5T0 992t9.5-22.5T32 960h160L128 85q-1-24 6-40t18.5-25T186 6.5T226.5 1T276 0h472q31 0 49.5 1T838 6.5T871.5 20t19 25t5.5 40l-64 875h160q13 0 22.5 9.5t9.5 22.5t-9.5 22.5t-22.5 9.5M243 832l13 128h512l14-128z"/></svg>How to use the Tophat icon
React
import { Icon } from "@iconify/react";
<Icon icon="whh:tophat" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="whh:tophat" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="whh:tophat" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[whh--tophat]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/whh -->
<div class="i-whh:tophat"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="whh:tophat"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/whh/tophat.svg" alt="Tophat icon" width="24" height="24">Tophat icon in other icon sets
Tophat icon FAQ
Is the Tophat icon free for commercial use?
Yes. WebHostingHub Glyphs icons are released under the Open Font License, which allows use in personal and commercial projects.
How do I use the Tophat icon in React?
Install @iconify/react and render <Icon icon="whh:tophat" />, or use “Copy code” on this page to get a standalone React component.
How do I add the Tophat icon to a web page?
Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/whh/tophat.svg" alt="Tophat icon">, or paste the SVG code inline to style it with CSS.