App UI kits › Farestage › Live line
Every bus on the line moves from the timetable plus its delay; drag down to scrub thirty minutes ahead, let go and it springs back.
Live line 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: timetable engine, scrub ahead, spring back.
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 | ||
line | string | Line id: '12', '41', 'T1' or '7'. | |
onStop | (stop: string) => void |
scrub(mins: number): void: Scrub to +minutes ahead (0–30).destroy(): voidimport FarestageLine from './FarestageLine';
<FarestageLine />The Vue, HTML, Next.js, Tailwind and Motion versions take the same options.
Good for: Public transport app, UK (pounds).