Ticket Mix Editor

Per-ticket-type quantity selectors with per-unit pricing and running total. Enforces min/max total quantities and shows ConstraintMessage hints.

core/ticket-mix-editor

Installation

1 · Add registry to components.json

2 · Install component

Examples

Default

Standard mix with running total, with policy note, and without total.

API Reference

PropTypeDescription
ticketTypesreq
TicketType[]Available ticket categories with price per unit.
valuereq
TicketSelection[]Current selection — quantities per ticket type.
onChangereq
(value: TicketSelection[]) => voidCalled when any quantity changes.
minTotal
numberMinimum total tickets required.
maxTotal
numberMaximum total tickets allowed.
note
stringPolicy note shown beneath the ticket list.
showTotal
booleanWhether to show the running cost total footer.