Skip to content
Docs
Reference

<tl-order-tickets>

Every ticket in an order as a scannable card, waiting out issuance rather than reporting an empty order as empty.

HTML tag<tl-order-tickets>
Reactimport { TlOrderTickets } from '@ticketlayer/elements-react'
CategoryTickets
Runs inweb (browser DOM), native (planned React Native set)

Every ticket in an order as a scannable card, waiting out issuance rather than reporting an empty order as empty.

tl-order-tickets - renders all the tickets for an order as scannable QR cards with PDF download. Fetches the order through the SDK (order-access gated by the session), so it works on a confirmation page or in an account.

<tl-order-tickets order-id="ord_xxx"></tl-order-tickets>

Properties#

PropertyAttributeDescriptionTypeDefault
columnscolumnsColumns in the grid (default 2).number2
orderId (required)order-idThe order whose tickets to show.stringundefined
unstyledunstyledRender into the light DOM with no stylesheet, for a page that styles the element itself: every node carries a tl-order-tickets__* class. Without it the element is styled, and each node is a ::part() of the same name.booleanfalse

Renders: <tl-ticket>

Used by: <tl-my-orders>, <tl-order-confirmation>