App UI kits › Whirligig › Virtual queue
Your return window is a paper ticket, and the queue is drawn as a line of people that steps forward every time a train leaves while the minutes roll down.
Virtual queue is a screen from Whirligig, an app ui kit with 11 screens: A theme park app where the whole park runs live on the map, rides, crowds and queues. Price: $5 for the whole pack.
Built with: queue that steps forward, paper return ticket, swap or give up.
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.
| Prop | Type | Default | Description |
|---|---|---|---|
dark | boolean | ||
autoplay | boolean | ||
photos | WgPhotos | ||
onLeave | () => void | ||
onSwap | (window: string) => void |
dispatch(): voiddestroy(): voidimport WhirligigQueue from './WhirligigQueue';
<WhirligigQueue />The Vue, HTML, Next.js, Tailwind and Motion versions take the same options.
Good for: Theme park app, UK (pounds).