Ticket

A boarding pass that tilts under a moving glare. Click it and the stub tears off along the perforation.

Install it the shadcn way: copy the source file into your project. It uses CSS 3D, Tailwind CSS v4 and Framer Motion, no WebGL.

Ticket3D props

PropTypeDefaultDescription
titlestring"Depth Airways"Airline or heading text at the top of the ticket.
fromstring"BOM"Departure code or city.
tostring"SFO"Arrival code or city.
datestring"24 OCT 2026"Travel date as display text.
seatstring"12A"Seat number.
gatestring"B7"Boarding gate.
codestring"DU-0925"Booking or ticket code shown at the bottom.
classNamestringExtra classes added to the outer element.

More components

Guides

Start

Cards

Scenes

Controls & text

Buttons

More cards

UI elements

Form controls

App components

Text & backgrounds

Showpieces

Blocks