Website kits › Dais › Tickets

Tickets

Pick a ticket, set how many, fill a form that checks itself, and the ticket prints out of a slot under the spotlight while the seats-left count drops.

Tickets is a checkout page from Dais, a website kit with 5 pages: A tech conference website lit by one stage spotlight. Price: $5 for the whole pack.

Built with: VAT maths, field checks, printing ticket.

Code: React and Next.js (TypeScript), Vue 3, plain HTML/CSS/JS, Tailwind CSS v4 and Motion (motion.dev). No npm packages needed. Keyboard accessible, with a reduced-motion version, in dark and light.

Tickets props

PropTypeDefaultDescription
lightboolean
demobooleanfalseFills the form for you on load (a demo). Default false.
onBuy(order: { type: string; qty: number; total: number; name: string; email: string }) => void
onNavigate(page: string) => void
onAction(id: string) => void

Methods on the ref

Use it in React

import DaisTickets from './DaisTickets';

<DaisTickets />

The Vue, HTML, Next.js, Tailwind and Motion versions take the same options.

More in Dais

Good for: Conference and event website, Europe (euro).