For the complete documentation index, see llms.txt. Markdown variants are available by appending .md to any URL or sending an Accept: text/markdown header. An agent skill is available at /.well-known/agent-skills/site-skill.md.
/
2k
Sponsor

Event Ticket

Print-ready event admission ticket with event details, seat info, QR code scan-in area, and branding strip.

Installation

$ pnpm dlx shadcn@latest add @pdfcn/takumi/event-ticket

Usage

import { EventTicketDocument } from "@/components/pdf/event-ticket";
<EventTicketDocument
  data={{
    eventName: "ShadCN Labs Conf",
    eventDate: "May 15, 2026",
    eventTime: "9:00 AM",
    venue: "Convention Center",
    address: "123 Main St, Las Vegas, NV",
    doorsOpen: "8:00 AM",
    ticketType: "VIP",
    ticketNumber: "TKT-00142",
    seat: { section: "A", row: "3", number: "12" },
    organizer: "ShadCN Labs",
    socialLinks: [
      { platform: "X", url: "x.com/shadcn" },
      { platform: "Instagram", url: "instagram.com/shadcn" },
    ],
    accentColor: "#52525b",
  }}
/>

With a pre-rendered QR image

Provide qrCodeUrl to render an image instead of the generated QR code:

<EventTicketDocument
  data={{
    // ...
    ticketNumber: "TKT-00142",
    qrCodeUrl: "https://example.com/qr/TKT-00142.png",
  }}
/>

Props

PropTypeDescription
dataEventTicketDataTicket content: event, venue, times, seat, ticket type/number, and footer fields
themePdfcnThemeOptional theme override