softicons.dev

ticket x icon

Free ticket x SVG icon, MIT licensed. Copy the SVG, install for React/Vue/Angular, or download. Part of the Softicons commerce set.

Setup guide
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"
     fill="none" stroke="currentColor" stroke-width="2"
     stroke-linecap="round" stroke-linejoin="round">
  <path d="M3 9a2 2 0 0 0 2-2 1 1 0 0 1 1-1h12a1 1 0 0 1 1 1 2 2 0 0 0 2 2v6a2 2 0 0 0-2 2 1 1 0 0 1-1 1H6a1 1 0 0 1-1-1 2 2 0 0 0-2-2Z"/>
  <line x1="9.5" y1="9.5" x2="14.5" y2="14.5"/>
  <line x1="14.5" y1="9.5" x2="9.5" y2="14.5"/>
</svg>
<!-- via the CDN — no build step -->
<img src="https://cdn.softicons.dev/v1/icons/commerce/ticket-x.svg"
     width="24" height="24" alt="ticket x icon">

<!-- …or paste the raw SVG from the SVG tab -->
import { TicketXIcon } from "@softicons/react";

export default function Example() {
  return <TicketXIcon size={24} strokeWidth={2} />;
}
<script setup>
import { TicketXIcon } from "@softicons/vue";
</script>

<template>
  <TicketXIcon :size="24" :stroke-width="2" />
</template>
import { TicketXIconComponent } from "@softicons/angular";

@Component({
  standalone: true,
  imports: [TicketXIconComponent],
  template: `<ticket-x-icon [size]="24" [strokeWidth]="2" />`,
})
export class DemoComponent {}