← Prompt Lab

Boarding Pass Peel

Tactile ticket peel with route-line trace
Travel · Data & Flows3 KB0 copies
SHARE
03 / PLAYGROUNDBoarding Pass Peel
BRAND COLORS
Fullscreen ↗

A boarding-pass card that peels open along its perforation when you press and drag, revealing the itinerary stub with an animated route trace. It brings physical hospitality tactility to flight and stay check-ins on mobile web.

boarding-passdragtraveltactilespring
// Drop the standalone boarding-pass-peel.html into /public/effects/boarding-pass-peel.html
// Or copy the HTML/CSS/JS tab directly into your component — zero external dependencies.
export function BoardingPassPeelEmbed() {
  return (
    <div className="relative min-h-[480px] w-full overflow-hidden rounded-2xl border border-white/10">
      <iframe
        src="/effects/boarding-pass-peel.html"
        title="Boarding Pass Peel"
        className="h-full min-h-[480px] w-full border-0"
        loading="lazy"
      />
    </div>
  )
}

WHY THIS WORKS IN PRODUCTION

  • Drag-to-peel stub with spring snap-back and detach
  • SVG route line self-draws on itinerary reveal
  • touch-action: pan-y preserves mobile vertical scroll
  • Reduced-motion fallback instant-reveals the stub

DROP-IN SPECS // WEB & MOBILE FIT

UI SLOTInteractive & Data
BEST USE CASETravel & Hospitality UI Component
IDEAL PLACEMENTDrop directly into section or mobile screen
BUNDLE SIZE3 KB
DEPENDENCIESZero (HTML/CSS/JS)
MOBILE / TOUCHMobile Friendly
GPU WEIGHTLight · 60fps