ticket icon
ticket from HeroIcons by Refactoring UI Inc · Outline 24x24 · MIT Free for personal and commercial use.
- Name
- ticket
- Set
- HeroIcons
- Style
- Outline 24x24
- Viewbox
- 24×24
- License
- MIT
3 other variants in HeroIcons
The same icon in other sets
ticketAkar IconsticketBootstrap IconsticketCarbonticketEmoji One (Colored)ticketElement PlusticketFramework7 IconsticketFont Awesome 6 SolidticketFont Awesome Solidticket-outlineFlowbite Iconsticket-20-filledFluent UI System IconsticketFluent EmojiticketFluent Emoji FlatticketFluent Emoji High ContrastticketFirefox OS EmojiticketIconParkticketIconPark OutlineticketIconPark SolidticketIconPark TwoToneticketIonIconsticketJam IconsticketLucideticketMajesticonsticketMaterial Design Iconsticket-fillMingCute Icon
Use the ticket icon
SVG
<svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 24 24"><path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5" d="M16.5 6v.75m0 3v.75m0 3v.75m0 3V18m-9-5.25h5.25M7.5 15h3M3.375 5.25c-.621 0-1.125.504-1.125 1.125v3.026a2.999 2.999 0 0 1 0 5.198v3.026c0 .621.504 1.125 1.125 1.125h17.25c.621 0 1.125-.504 1.125-1.125v-3.026a2.999 2.999 0 0 1 0-5.198V6.375c0-.621-.504-1.125-1.125-1.125z"/></svg>
React
import type { SVGProps } from "react";
export function HeroiconsTicket(props: SVGProps<SVGSVGElement>) {
return (
<svg {...props} xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 24 24"><path fill="none" stroke="currentColor" strokeLinecap="round" strokeLinejoin="round" strokeWidth="1.5" d="M16.5 6v.75m0 3v.75m0 3v.75m0 3V18m-9-5.25h5.25M7.5 15h3M3.375 5.25c-.621 0-1.125.504-1.125 1.125v3.026a2.999 2.999 0 0 1 0 5.198v3.026c0 .621.504 1.125 1.125 1.125h17.25c.621 0 1.125-.504 1.125-1.125v-3.026a2.999 2.999 0 0 1 0-5.198V6.375c0-.621-.504-1.125-1.125-1.125z"/></svg>
);
}
Vue
<template> <svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 24 24"><path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5" d="M16.5 6v.75m0 3v.75m0 3v.75m0 3V18m-9-5.25h5.25M7.5 15h3M3.375 5.25c-.621 0-1.125.504-1.125 1.125v3.026a2.999 2.999 0 0 1 0 5.198v3.026c0 .621.504 1.125 1.125 1.125h17.25c.621 0 1.125-.504 1.125-1.125v-3.026a2.999 2.999 0 0 1 0-5.198V6.375c0-.621-.504-1.125-1.125-1.125z"/></svg> </template>
CSS
.icon-ticket {
width: 24px;
height: 24px;
background-color: currentColor;
-webkit-mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%221em%22%20height%3D%221em%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cpath%20fill%3D%22none%22%20stroke%3D%22currentColor%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%20stroke-width%3D%221.5%22%20d%3D%22M16.5%206v.75m0%203v.75m0%203v.75m0%203V18m-9-5.25h5.25M7.5%2015h3M3.375%205.25c-.621%200-1.125.504-1.125%201.125v3.026a2.999%202.999%200%200%201%200%205.198v3.026c0%20.621.504%201.125%201.125%201.125h17.25c.621%200%201.125-.504%201.125-1.125v-3.026a2.999%202.999%200%200%201%200-5.198V6.375c0-.621-.504-1.125-1.125-1.125z%22%2F%3E%3C%2Fsvg%3E") no-repeat center / contain;
mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%221em%22%20height%3D%221em%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cpath%20fill%3D%22none%22%20stroke%3D%22currentColor%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%20stroke-width%3D%221.5%22%20d%3D%22M16.5%206v.75m0%203v.75m0%203v.75m0%203V18m-9-5.25h5.25M7.5%2015h3M3.375%205.25c-.621%200-1.125.504-1.125%201.125v3.026a2.999%202.999%200%200%201%200%205.198v3.026c0%20.621.504%201.125%201.125%201.125h17.25c.621%200%201.125-.504%201.125-1.125v-3.026a2.999%202.999%200%200%201%200-5.198V6.375c0-.621-.504-1.125-1.125-1.125z%22%2F%3E%3C%2Fsvg%3E") no-repeat center / contain;
}Direct links: SVG · download · JSON · https://iconsdb.app/api/v1/icon/heroicons/ticket.svg?color=%231a73e8&size=48