HomeData-aware

PreviousNext

Bus Arrivals

Departures at a bus stop. Flat by default, or grouped by route.

Data-aware

Preview

G

Usage

const stopId = "490000091G"
const [stop, data] = await Promise.all([
  tfl.stopPoint.get(stopId),
  tfl.stopPoint.getArrivals({
    stopPointIds: [stopId],
    sortBy: "timeToStation",
  }),
])

<BusArrivalsBoard
  data={data}
  stopName={stop.commonName}
  stopLetter={stop.stopLetter}
/>
Installable via shadcn CLI

Installation

pnpm dlx shadcn@latest add https://tfl.manglekuo.com/r/bus-arrivals-board.json

In code

Tube & Rail Arrivals · Explorer · Bus stops · Colours