<tl-ticket>
| HTML tag | <tl-ticket> |
| React | import { TlTicket } from '@ticketlayer/elements-react' |
| Category | Tickets |
| Runs in | web (browser DOM), native (planned React Native set) |
tl-ticket - a single event ticket: a scannable QR (the redemption token), ticket name / seat / holder, and a PDF download. Greys out + stamps Used/Void when redeemed or cancelled.
Properties
| Property | Attribute | Description | Type | Default |
|---|---|---|---|---|
orderId (required) | order-id | Order id this ticket belongs to (for the PDF download). | string | undefined |
ticket (required) | -- | The ticket to render. | TlTicketData | undefined |
Related elements
Used by: <tl-order-tickets>