Ticket icon
andrsrxn:ticket
The Ticket icon (andrsrxn:ticket) 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
- Business
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><g fill="none"><path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5" d="M10.24 5.74v12.52"/><path fill="currentColor" d="M2.16 6.97c0-.76 0-1.14.2-1.4a1 1 0 0 1 .2-.22c.27-.2.65-.2 1.4-.2h4.28c.94 0 1.41 0 1.7.3s.3.77.3 1.7v9.72c0 .94 0 1.41-.3 1.7c-.29.3-.76.3-1.7.3H3.67c-.9 0-1.34 0-1.63-.27L2 18.54c-.27-.28-.27-.73-.27-1.62v-.09c0-.6 0-.91.15-1.15l.12-.17c.2-.2.49-.28 1.08-.45c.45-.12.68-.19.85-.33l.12-.13c.14-.17.2-.4.31-.86l.39-1.53c.05-.24.08-.35.08-.47s-.02-.23-.07-.46L4.39 9.7l-.1-.35a1 1 0 0 0-.64-.58l-.36-.06a2 2 0 0 1-.44-.07a1 1 0 0 1-.67-.75c-.02-.1-.02-.21-.02-.44z" opacity=".2"/><path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5" d="M20.52 5H3.54C2.52 5 1.7 5.82 1.7 6.84v.6c0 .68.55 1.24 1.24 1.24s1.25.56 1.25 1.24v4.24c0 .69-.56 1.24-1.25 1.24s-1.24.56-1.24 1.25v.55c0 1 .8 1.8 1.8 1.8h17.04c.98 0 1.76-.79 1.76-1.76v-.51c0-.69-.56-1.25-1.24-1.25c-.7 0-1.25-.56-1.25-1.25V9.8c0-.68.56-1.24 1.25-1.24S22.3 8 22.3 7.3v-.53c0-.98-.8-1.78-1.78-1.78"/></g></svg>How to use the Ticket icon
React
import { Icon } from "@iconify/react";
<Icon icon="andrsrxn:ticket" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="andrsrxn:ticket" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="andrsrxn:ticket" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[andrsrxn--ticket]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/andrsrxn -->
<div class="i-andrsrxn:ticket"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="andrsrxn:ticket"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/andrsrxn/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. andrsrxn/icons are released under the MIT 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="andrsrxn: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/andrsrxn/ticket.svg" alt="Ticket icon">, or paste the SVG code inline to style it with CSS.