Components
Components
Every Signal component, with a preview: web CSS, layout, cross-platform contracts and app components.
Every component is styled from shared tokens. React Native components run on iOS, Android and web. Web CSS and cross-platform contracts are below.
Web components
ButtonText actions. Default is the Brand-tint secondary; --primary fills with Brand; --ghost is a text link; --sm is the compact size.
BadgePill-shaped labels with an optional glyph, e.g. a page's status.
CardThe gray card on white, the layout unit. --empty centers a muted message.
Error stateActionable API, network and decoding failure states: full-surface, inline stale-data banner and compact widget/Live Activity variants.
ChipSmall labels: route type, change type, metadata. Variants: --muted, --accent, --solid, --inverse, --outline, --good, --warn, --alert, --critical, --highlight; --sm is the changelog size.
Icon buttonRound 44pt glyph buttons (live track, favorite, close). aria-pressed=true fills it.
Link buttonA button that reads as an inline text link: Show more, Retry. --block spans the row with a full tap target.
InputText inputs, selects and the search field (.ct-search with a leading glyph). Pair with .ct-field for a label.
Map controls (web)The web map's translucent control stack and zoom label, with the map ground and location colors.
MenuA popover behind a 44pt toggle for secondary header tools on phones; --inline shows the items in place.
Route toggleRoute filters: a line-color circle (set --route) or a Brand bus capsule. aria-pressed=true shows the selection ring.
Segmented controlMutually exclusive choices. The current segment carries aria-pressed=true, aria-current or aria-selected=true. --touch is the phone size; --scroll scrolls sideways.
Filter segmentA labeled filter: an uppercase caption before a scrolling segmented control.
SpinnerIndeterminate loading ring; .ct-icon-spin turns a glyph once (refresh).
StatusA status word first, color second (Due, Delayed, alerts). --pill adds a tinted background.
TableData tables with a muted header row; wrap in .ct-table-wrap to scroll sideways.
ToastTransient message. React Native and web toast presenters.
TooltipA short hint on hover or focus: add data-tooltip to any element with .ct-tooltip.
Navigation railThe app's pages: a full-height rail of glyph-over-label buttons from the medium breakpoint up, the page capsule on phones, and the floating map search bar.
SwitchAn on/off setting drawn as the iOS switch: role=switch on a checkbox, Accent when on.
SkeletonRedacted loading rows in place of the rows they stand for; no spinner, no shimmer.
Layout
App shellFull-height web app frame; sets the responsive --gutter. Web: .ct-app, .ct-app-main, .ct-view.
Site headerThe sticky site header: brand, area links, a slot and the tools menu; collapses on phones.
App barThe app view bar under the site header: tabs and a status line.
Tab stripApp views as a segmented control: .ct-tab-strip and .ct-segmented.ct-tabs.
List–detail splitSide-by-side panes that become swipeable steps on compact screens: .ct-split and .ct-pane.
Map shellA full-bleed map with side or bottom sheets, a teaser and a tools dock.
Section headerA section title with trailing meta. Web: .ct-section-header; React Native: SectionHeader.
Card gridResponsive grids of cards, pairs and stat tiles.
Skip linkThe first focusable element on every page: a link to the main content, shown only when focused.
Page containerA centered content column: page, dashboard and reading widths, with optional page padding.
Contracts
Closed badgeThe word Closed on an Inactive pill, for a closed station or stop in lists, favourites, search and its page.
Mode badgeThe train or bus glyph on its mode's shape: bus on a Brand rounded square, train on an Inactive gray circle. Small and large.
Route iconA route's identity mark. Train lines are solid circles in the line color; bus routes are numbered Brand capsules. One family in three size roles.
Station markerA train station on the map, drawn like the brand logo: a white circle per served lane, bridged and outlined as one shape. Zoomed out it is a simple dot.
Bus markerA live bus (vehicle) on the map: a Brand body with a bus glyph, a heading indicator and the route number in a tag above or below. Trains share the structure with a line-color disc.
Line barThe lines serving a station, as one rounded vertical bar per CTA line in contrast order. Used in stop rows, stop cards and search results.
Stop cardA saved or nearby stop as a card: name, subtitle and routes on the left, the next two arrivals in a ruled column on the right.
Arrival rowOne predicted arrival in a stop sheet: route icon, destination, the time as a word or minutes with the clock time under it, and a chevron that expands the upcoming-stops timeline.
Mode pickerNearby's All modes, Trains and Buses choice: three glyph segments with a circular selection.
List rowRows in result, browse, settings and sheet lists: lead, title, trailing value, chevron; swipe and drag in sheet lists.
Empty stateNothing to show and nothing failed: glyph, title, one line of guidance and at most one primary action.
Focus ringThe 2.5 Accent :focus-visible ring 2 outside the element, following its radius, and the selection ring.
ChiTransit launchThe ChiTransit lockup at cold launch: the app icon, then the wordmark sliding out beside it, ended by the app's first content.