Admit one
MGN-0508-A17
Blue Hour
Guest
Saunak Ghosh
Seat
A-17
Guest
Saunak Ghosh
Seat
A-17
A collectible access-pass deck built around a real selection handoff. The selected pass rises into a readable event face; a check-in scan is a contained confirmation, not ambient decoration.
'use client';
import { MugenTicketMorph } from "@/components/mugen-ticket-morph";
const passes = [{
id: "blue-hour",
title: "Blue Hour",
venue: "Hall A · Mugen Studio",
date: "05 AUG 2026",
time: "19:30 IST",
attendee: "Saunak Ghosh",
seat: "A-17",
tone: "sky",
}];
export default function Demo() {
return <MugenTicketMorph passes={passes} defaultExpanded />;
}| Prop | Type | Default | Description |
|---|---|---|---|
| passes | MugenTicketPass[] | — | Pass metadata, event details, attendee, seat, code, and visual tone |
| value | string | — | Controlled selected pass id |
| defaultValue | string | first pass | Initial uncontrolled selected pass |
| expanded | boolean | — | Controlled detail-face state |
| defaultExpanded | boolean | false | Initial expanded detail state |
| compact | boolean | false | Condensed ticket face for catalog tiles and narrow layouts |
| onValueChange | (id, pass) => void | — | Called after the active pass changes |
| onCheckIn | (pass) => void | — | Called once when the active pass is checked in |
| disabled | boolean | false | Prevents pass selection and check-in |
| onExpandedChange | (expanded: boolean) => void | — | Called when the ticket expands or collapses |