App UI kits › Whirligig › Virtual queue

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.

Virtual queue props

PropTypeDefaultDescription
darkboolean
autoplayboolean
photosWgPhotos
onLeave() => void
onSwap(window: string) => void

Methods on the ref

Use it in React

import WhirligigQueue from './WhirligigQueue';

<WhirligigQueue />

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

More in Whirligig

Good for: Theme park app, UK (pounds).