Skip to content
Signal

Components

Line bar

The lines serving a station, as one rounded vertical bar per CTA line in contrast order. Used in stop rows, stop cards and search results.

Contract: components/line-bar.yaml. States are drawn live by transit.js.

iOS app specification

The app's rendering of this component, from the v3 spec.

Line bar

All lines at a stop as equal-width, evenly spaced rounded rectangles. Used wherever lines are read, not tapped.

UIC-Halsted · 1
Fullerton · 2
Belmont · 3
Howard · 3
Washington/Wabash · 5
Clark/Lake · 6
SizeEach segment is 10 × 24 with radius 3
SpacingFixed 3pt gap between segments. Segment size and gap never change with route count; total width grows from the count. Six-line stations are the current actual max
OrderMaximise the smallest colour difference between neighbours, then the total; ties follow CTA order. Deterministic per set
Used inStop cards, sheet header, station rows
Not used inRoute filter and arrival rows, which stay circles