App UI kits › Farestage › Tickets and cap
The day cap fills with each tap and today’s journeys show what they cost; the barcode refreshes while you watch.
Tickets and cap is a screen from Farestage, an app ui kit with 11 screens: A public transport app with a live line you can scrub thirty minutes ahead, and a fare cap that fills as you tap in. Price: $5 for the whole pack.
Built with: fare cap ring, live barcode, tap history.
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 | FgPhotos |
seek(minute: number): void: Run the day forward to a minute (adds the taps up to then).destroy(): voidimport FarestageTickets from './FarestageTickets';
<FarestageTickets />The Vue, HTML, Next.js, Tailwind and Motion versions take the same options.
Good for: Public transport app, UK (pounds).