gentleface

Gentleface › Shopping › ticket

ticket icon

Ticket: ticket, coupon, voucher, admission. Drawn on the 16 px grid. Free SVG, PNG and code, MIT licensed.

Animated ticket-tear · line-round

The stub tears away along the perforation from top to bottom, opening like a hinge at the last uncut point, and drops off the corner. A new stub slides in from the right, knocks the ticket, and the perforation forms again.

Download SVG

Native SVG animation, with no CSS or script. It loops by itself. Inline it to take the text color: in an <img> it draws black. To play it once on hover or click, run 0.22 s to 2.4 s. Examples and helper.

Code line-round

SVG
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16" fill="currentColor" aria-hidden="true"><path d="M13.856 6.356C13.759 6.452 13.641 6.5 13.5 6.5C13.309 6.5 13.125 6.535 12.948 6.605C12.755 6.682 12.586 6.793 12.439 6.939C12.293 7.086 12.182 7.255 12.105 7.448C12.035 7.625 12 7.809 12 8C12 8.191 12.035 8.375 12.105 8.552C12.182 8.745 12.293 8.914 12.439 9.061C12.586 9.207 12.755 9.318 12.948 9.395C13.125 9.465 13.309 9.5 13.5 9.5C13.641 9.5 13.759 9.548 13.856 9.644C13.952 9.741 14 9.859 14 10L14 11.25C14 11.473 13.959 11.687 13.877 11.894C13.788 12.119 13.658 12.317 13.487 12.487C13.317 12.658 13.119 12.788 12.894 12.877C12.687 12.959 12.473 13 12.25 13L2.75 13C2.527 13 2.313 12.959 2.106 12.877C1.881 12.788 1.683 12.658 1.513 12.487C1.342 12.317 1.212 12.119 1.123 11.894C1.041 11.687 1 11.473 1 11.25L1 10C1 9.859 1.048 9.741 1.144 9.644C1.241 9.548 1.359 9.5 1.5 9.5C1.691 9.5 1.875 9.465 2.052 9.395C2.245 9.318 2.414 9.207 2.561 9.061C2.707 8.914 2.818 8.745 2.895 8.552C2.965 8.375 3 8.191 3 8C3 7.809 2.965 7.625 2.895 7.448C2.818 7.255 2.707 7.086 2.561 6.939C2.414 6.793 2.245 6.682 2.052 6.605C1.875 6.535 1.691 6.5 1.5 6.5C1.359 6.5 1.241 6.452 1.144 6.356C1.048 6.259 1 6.141 1 6L1 4.75C1 4.527 1.041 4.313 1.123 4.106C1.212 3.881 1.342 3.683 1.513 3.513C1.683 3.342 1.881 3.212 2.106 3.123C2.313 3.041 2.527 3 2.75 3L12.25 3C12.473 3 12.687 3.041 12.894 3.123C13.119 3.212 13.317 3.342 13.487 3.513C13.658 3.683 13.788 3.881 13.877 4.106C13.959 4.313 14 4.527 14 4.75L14 6C14 6.141 13.952 6.259 13.856 6.356ZM2.42 5.676C2.741 5.803 3.024 5.988 3.268 6.232C3.512 6.476 3.697 6.759 3.824 7.08C3.941 7.375 4 7.682 4 8C4 8.318 3.941 8.625 3.824 8.92C3.697 9.241 3.512 9.524 3.268 9.768C3.024 10.012 2.741 10.197 2.42 10.324C2.283 10.379 2.142 10.421 2 10.45L2 11.25C2 11.457 2.073 11.634 2.22 11.78C2.366 11.927 2.543 12 2.75 12L12.25 12C12.457 12 12.634 11.927 12.78 11.78C12.927 11.634 13 11.457 13 11.25L13 10.45C12.857 10.421 12.717 10.379 12.58 10.324C12.259 10.197 11.976 10.012 11.732 9.768C11.488 9.524 11.303 9.241 11.176 8.92C11.059 8.625 11 8.318 11 8C11 7.682 11.059 7.375 11.176 7.08C11.303 6.759 11.488 6.476 11.732 6.232C11.976 5.988 12.259 5.803 12.58 5.676C12.717 5.621 12.857 5.579 13 5.55L13 4.75C13 4.543 12.927 4.366 12.78 4.22C12.634 4.073 12.457 4 12.25 4L2.75 4C2.543 4 2.366 4.073 2.22 4.22C2.073 4.366 2 4.543 2 4.75L2 5.55C2.142 5.579 2.283 5.621 2.42 5.676ZM7 5.5C7 5.359 7.048 5.241 7.144 5.144C7.241 5.048 7.359 5 7.5 5C7.641 5 7.759 5.048 7.856 5.144C7.952 5.241 8 5.359 8 5.5L8 6.5C8 6.641 7.952 6.759 7.856 6.856C7.759 6.952 7.641 7 7.5 7C7.359 7 7.241 6.952 7.144 6.856C7.048 6.759 7 6.641 7 6.5L7 5.5ZM7.5 9C7.641 9 7.759 9.048 7.856 9.144C7.952 9.241 8 9.359 8 9.5L8 10.5C8 10.641 7.952 10.759 7.856 10.856C7.759 10.952 7.641 11 7.5 11C7.359 11 7.241 10.952 7.144 10.856C7.048 10.759 7 10.641 7 10.5L7 9.5C7 9.359 7.048 9.241 7.144 9.144C7.241 9.048 7.359 9 7.5 9Z"/></svg>
React
// Gentleface "ticket" (line-round), MIT. https://gentleface.com/icons/ticket
import type { SVGProps } from 'react';

export function TicketIcon(props: SVGProps<SVGSVGElement>) {
  return (
    <svg xmlns="http://www.w3.org/2000/svg" width={16} height={16} viewBox="0 0 16 16" fill="currentColor" aria-hidden="true" {...props}>
      <path d="M13.856 6.356C13.759 6.452 13.641 6.5 13.5 6.5C13.309 6.5 13.125 6.535 12.948 6.605C12.755 6.682 12.586 6.793 12.439 6.939C12.293 7.086 12.182 7.255 12.105 7.448C12.035 7.625 12 7.809 12 8C12 8.191 12.035 8.375 12.105 8.552C12.182 8.745 12.293 8.914 12.439 9.061C12.586 9.207 12.755 9.318 12.948 9.395C13.125 9.465 13.309 9.5 13.5 9.5C13.641 9.5 13.759 9.548 13.856 9.644C13.952 9.741 14 9.859 14 10L14 11.25C14 11.473 13.959 11.687 13.877 11.894C13.788 12.119 13.658 12.317 13.487 12.487C13.317 12.658 13.119 12.788 12.894 12.877C12.687 12.959 12.473 13 12.25 13L2.75 13C2.527 13 2.313 12.959 2.106 12.877C1.881 12.788 1.683 12.658 1.513 12.487C1.342 12.317 1.212 12.119 1.123 11.894C1.041 11.687 1 11.473 1 11.25L1 10C1 9.859 1.048 9.741 1.144 9.644C1.241 9.548 1.359 9.5 1.5 9.5C1.691 9.5 1.875 9.465 2.052 9.395C2.245 9.318 2.414 9.207 2.561 9.061C2.707 8.914 2.818 8.745 2.895 8.552C2.965 8.375 3 8.191 3 8C3 7.809 2.965 7.625 2.895 7.448C2.818 7.255 2.707 7.086 2.561 6.939C2.414 6.793 2.245 6.682 2.052 6.605C1.875 6.535 1.691 6.5 1.5 6.5C1.359 6.5 1.241 6.452 1.144 6.356C1.048 6.259 1 6.141 1 6L1 4.75C1 4.527 1.041 4.313 1.123 4.106C1.212 3.881 1.342 3.683 1.513 3.513C1.683 3.342 1.881 3.212 2.106 3.123C2.313 3.041 2.527 3 2.75 3L12.25 3C12.473 3 12.687 3.041 12.894 3.123C13.119 3.212 13.317 3.342 13.487 3.513C13.658 3.683 13.788 3.881 13.877 4.106C13.959 4.313 14 4.527 14 4.75L14 6C14 6.141 13.952 6.259 13.856 6.356ZM2.42 5.676C2.741 5.803 3.024 5.988 3.268 6.232C3.512 6.476 3.697 6.759 3.824 7.08C3.941 7.375 4 7.682 4 8C4 8.318 3.941 8.625 3.824 8.92C3.697 9.241 3.512 9.524 3.268 9.768C3.024 10.012 2.741 10.197 2.42 10.324C2.283 10.379 2.142 10.421 2 10.45L2 11.25C2 11.457 2.073 11.634 2.22 11.78C2.366 11.927 2.543 12 2.75 12L12.25 12C12.457 12 12.634 11.927 12.78 11.78C12.927 11.634 13 11.457 13 11.25L13 10.45C12.857 10.421 12.717 10.379 12.58 10.324C12.259 10.197 11.976 10.012 11.732 9.768C11.488 9.524 11.303 9.241 11.176 8.92C11.059 8.625 11 8.318 11 8C11 7.682 11.059 7.375 11.176 7.08C11.303 6.759 11.488 6.476 11.732 6.232C11.976 5.988 12.259 5.803 12.58 5.676C12.717 5.621 12.857 5.579 13 5.55L13 4.75C13 4.543 12.927 4.366 12.78 4.22C12.634 4.073 12.457 4 12.25 4L2.75 4C2.543 4 2.366 4.073 2.22 4.22C2.073 4.366 2 4.543 2 4.75L2 5.55C2.142 5.579 2.283 5.621 2.42 5.676ZM7 5.5C7 5.359 7.048 5.241 7.144 5.144C7.241 5.048 7.359 5 7.5 5C7.641 5 7.759 5.048 7.856 5.144C7.952 5.241 8 5.359 8 5.5L8 6.5C8 6.641 7.952 6.759 7.856 6.856C7.759 6.952 7.641 7 7.5 7C7.359 7 7.241 6.952 7.144 6.856C7.048 6.759 7 6.641 7 6.5L7 5.5ZM7.5 9C7.641 9 7.759 9.048 7.856 9.144C7.952 9.241 8 9.359 8 9.5L8 10.5C8 10.641 7.952 10.759 7.856 10.856C7.759 10.952 7.641 11 7.5 11C7.359 11 7.241 10.952 7.144 10.856C7.048 10.759 7 10.641 7 10.5L7 9.5C7 9.359 7.048 9.241 7.144 9.144C7.241 9.048 7.359 9 7.5 9Z" />
    </svg>
  );
}
Vue
Vue: see /icons/ticket.md
Svelte
Svelte: see /icons/ticket.md
HTML img
HTML img: see /icons/ticket.md
CSS
CSS: see /icons/ticket.md
Data URL
Data URL: see /icons/ticket.md
Sprite
Sprite: see /icons/ticket.md
SwiftUI
SwiftUI: see /icons/ticket.md
Compose
Compose: see /icons/ticket.md
Android XML
Android XML: see /icons/ticket.md
Flutter
Flutter: see /icons/ticket.md

Each icon is drawn on the 16 px grid, and most also on the 20 and 24 px grids (at 24 in three weights: light 1 px, regular 1.5 px, bold 2 px). Show the drawing made for your size, or an exact multiple of it, on whole pixels: 16 for 16 and 32 px, 20 for 20 and 40, 24 for 24 and 48. A size in between or a fractional position blurs it. The code on each icon page is the 16 px drawing, an SVG with fill="currentColor"; the icon page's downloads follow its Grid switch, and npm has the 20 and 24 px drawings too. The snippets are decorative (aria-hidden). For an icon that carries meaning on its own, such as an icon-only button, label the button, or give the SVG role="img" and an aria-label. More in how to use.

With npm: import { TicketIcon } from '@gentleface/react'; (setup).

Meaning

Use it for
ticket, coupon, voucher, admission, tickets, event ticket, support ticket, help desk ticket, coupons, vouchers
Alternatives
Don’t confuse with
  • tag-percent: a discount on a price tag, not a coupon you hold
Also fits
  • venue: tickets or admission
  • credits: coupons or vouchers
  • gift card: a coupon or voucher code
  • seat: a ticket or admission
Tags
ticket, coupon, voucher, admission, event, pass, entry
Category
Shopping
Component name
TicketIcon
History
  • added
  • released in 0.1.0
  • 20 px drawn, 24 px drawn
Since
version 0.1.0

Family 13

More shopping icons

For agents

Metadata: /icons/ticket.json · Markdown: /icons/ticket.md · SVG: https://gentleface.com/svg/{style}/16/ticket.svg · PNG: https://gentleface.com/png/{style}/{16|32|48}/ticket.png