ticket icon
ticket from TDesign Icons by TDesign · Outline · MIT Free for personal and commercial use.
- Name
- ticket
- Set
- TDesign Icons
- Style
- Outline
- Viewbox
- 24×24
- License
- MIT
1 other variant in TDesign Icons
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 EmojiticketHeroIconsticketIconParkticketIconPark OutlineticketIconPark SolidticketIconPark TwoToneticketIonIconsticketJam IconsticketLucideticketMajesticonsticketMaterial Design Icons
Use the ticket icon
SVG
<svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 24 24"><g fill="none"><path d="M22 5v3.837a3.5 3.5 0 0 0 0 6.326V19H2v-3.837a3.5 3.5 0 0 0 0-6.326V5z"/><path stroke="currentColor" stroke-width="2" d="M22 5v3.837a3.5 3.5 0 0 0 0 6.326V19H2v-3.837a3.5 3.5 0 0 0 0-6.326V5z"/><path stroke="currentColor" stroke-linecap="square" stroke-width="2" d="M9 10h6m-6 4h6"/></g></svg>
React
import type { SVGProps } from "react";
export function TdesignTicket(props: SVGProps<SVGSVGElement>) {
return (
<svg {...props} xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 24 24"><g fill="none"><path d="M22 5v3.837a3.5 3.5 0 0 0 0 6.326V19H2v-3.837a3.5 3.5 0 0 0 0-6.326V5z"/><path stroke="currentColor" strokeWidth="2" d="M22 5v3.837a3.5 3.5 0 0 0 0 6.326V19H2v-3.837a3.5 3.5 0 0 0 0-6.326V5z"/><path stroke="currentColor" strokeLinecap="square" strokeWidth="2" d="M9 10h6m-6 4h6"/></g></svg>
);
}
Vue
<template> <svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 24 24"><g fill="none"><path d="M22 5v3.837a3.5 3.5 0 0 0 0 6.326V19H2v-3.837a3.5 3.5 0 0 0 0-6.326V5z"/><path stroke="currentColor" stroke-width="2" d="M22 5v3.837a3.5 3.5 0 0 0 0 6.326V19H2v-3.837a3.5 3.5 0 0 0 0-6.326V5z"/><path stroke="currentColor" stroke-linecap="square" stroke-width="2" d="M9 10h6m-6 4h6"/></g></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%3Cg%20fill%3D%22none%22%3E%3Cpath%20d%3D%22M22%205v3.837a3.5%203.5%200%200%200%200%206.326V19H2v-3.837a3.5%203.5%200%200%200%200-6.326V5z%22%2F%3E%3Cpath%20stroke%3D%22currentColor%22%20stroke-width%3D%222%22%20d%3D%22M22%205v3.837a3.5%203.5%200%200%200%200%206.326V19H2v-3.837a3.5%203.5%200%200%200%200-6.326V5z%22%2F%3E%3Cpath%20stroke%3D%22currentColor%22%20stroke-linecap%3D%22square%22%20stroke-width%3D%222%22%20d%3D%22M9%2010h6m-6%204h6%22%2F%3E%3C%2Fg%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%3Cg%20fill%3D%22none%22%3E%3Cpath%20d%3D%22M22%205v3.837a3.5%203.5%200%200%200%200%206.326V19H2v-3.837a3.5%203.5%200%200%200%200-6.326V5z%22%2F%3E%3Cpath%20stroke%3D%22currentColor%22%20stroke-width%3D%222%22%20d%3D%22M22%205v3.837a3.5%203.5%200%200%200%200%206.326V19H2v-3.837a3.5%203.5%200%200%200%200-6.326V5z%22%2F%3E%3Cpath%20stroke%3D%22currentColor%22%20stroke-linecap%3D%22square%22%20stroke-width%3D%222%22%20d%3D%22M9%2010h6m-6%204h6%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E") no-repeat center / contain;
}Direct links: SVG · download · JSON · https://iconsdb.app/api/v1/icon/tdesign/ticket.svg?color=%231a73e8&size=48