Ticket icon
whh:ticket
The Ticket icon (whh:ticket) is a free SVG icon from the WebHostingHub Glyphs set by WebHostingHub. It is drawn on a 1025 × 768 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
- 1025 × 768
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="1025" height="768" viewBox="0 0 1025 768"><path fill="currentColor" d="M1024.226 512v192q0 26-19 45t-45 19h-576v-32q0-13-9.5-22.5t-22.5-9.5t-22.5 9.5t-9.5 22.5v32h-256q-26 0-45-19t-19-45V512q53 0 90.5-37.5t37.5-90.5t-37.5-90.5T.226 256V64q0-26 19-45t45-19h256v32q0 13 9.5 22.5t22.5 9.5t22.5-9.5t9.5-22.5V0h576q26 0 45 19t19 45v192q-53 0-90.5 37.5t-37.5 90.5t37.5 90.5t90.5 37.5m-640-352q0-13-9.5-22.5t-22.5-9.5t-22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5t22.5-9.5t9.5-22.5zm0 192q0-13-9.5-22.5t-22.5-9.5t-22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5t22.5-9.5t9.5-22.5zm0 192q0-13-9.5-22.5t-22.5-9.5t-22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5t22.5-9.5t9.5-22.5z"/></svg>How to use the Ticket icon
React
import { Icon } from "@iconify/react";
<Icon icon="whh:ticket" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="whh:ticket" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="whh:ticket" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[whh--ticket]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/whh -->
<div class="i-whh:ticket"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="whh:ticket"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/whh/ticket.svg" alt="Ticket icon" width="24" height="24">Ticket icon in other icon sets
Ticket icon FAQ
Is the Ticket 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 Ticket icon in React?
Install @iconify/react and render <Icon icon="whh:ticket" />, or use “Copy code” on this page to get a standalone React component.
How do I add the Ticket icon to a web page?
Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/whh/ticket.svg" alt="Ticket icon">, or paste the SVG code inline to style it with CSS.