City Bikes — UI storybook

A reference walkthrough of the app’s interface states, accessibility labels, and Siri phrases. It is updated periodically and may not always match the current App Store version.

Use the switches above to inspect localized app copy and grayscale contrast. Every screenshot updates because the attribution and date formatting follow the app locale. Press ctrl + alt + t to cycle languages, or ctrl + alt + g to toggle color and grayscale. Jump to the VoiceOver examples.

1 · Opening the app

The map opens on Helsinki with station markers placed as soon as data arrives. When the initial load takes longer than a quarter of a second, the loading card appears so nothing flashes on fast connections. Station records are decoded one by one: if individual records are corrupt, valid stations still load as a partial snapshot and keep the map usable, while keeping the partial state distinct internally from a full snapshot. The top-left i button opens a quiet About menu with an HSL open-data note, a Privacy Policy link, and the total bikes currently on stations (0 during winter closure, omitted when data is stale or unavailable), and hides whenever search expands.

Normal and slow launch

Map on launch with markers, About, search and location controls, and HSL attribution.
On launch: markers, About, search and location controls, and HSL attribution at the bottom
Loading card shown during a slow initial request.
The loading card, shown only when the first load is slow

About menu

About menu showing HSL open-data note, live bikes on stations, and Privacy Policy link.
Normal launch: HSL open-data blurb, live bikes on stations, and Privacy Policy link
About menu during winter closure showing 0 bikes on stations.
Closed for the season: shows 0 bikes on stations
About menu when service is unavailable with the bike count omitted.
Service unavailable: bike count omitted

Partial feed, still usable

Partial snapshot showing valid stations after dropping corrupt records.
Partial snapshot: corrupt records dropped, valid stations shown

Error branch: if no usable snapshot exists, a single “Station data not available” panel covers every failure cause (offline, upstream HTTP error, malformed response, empty array, or all records corrupt) because the user action is the same. Failed background refreshes leave the existing map intact.

Station data not available panel when offline.
Offline
Station data not available panel on upstream HTTP failure.
Upstream HTTP failure — same panel
Station data not available panel on malformed response.
Malformed response — same panel
Station data not available panel on empty station array.
Valid envelope, empty station array
Station data not available panel when every station record is corrupt.
Every station record corrupt — same panel

2 · Reading the markers

Each marker displays the available bike count. Color and symbols encode station state: dark green is normal, warm amber marks empty stations, orange marks pick-up or return restrictions, purple with a waveform indicates an estimated count rather than real-time telemetry, and gray is out of service. Tapping restricted, estimated, or out-of-service stations opens a callout explaining the state; normal and empty stations show no extra callout. Zoomed-out clusters sum the same bike counts, keeping one- and two-digit badges compact and leaving margin around wider totals.

VoiceOver on the map

The examples below show the accessibility labels provided for each marker, callout, and cluster. The language switch updates both the screenshots and the VoiceOver strings.

Normal green station pin showing 4 bikes.
Normal station — no callout on tap
VoiceOver pin label
Station. 4 bicycles available.
Empty amber station pin showing 0.
Empty station: amber 0, no callout
VoiceOver pin label
Station. No bicycles available.
Amber station pin with pickup disabled callout.
Bikes present, pick-up disabled — callout on tap
VoiceOver pin label
Station has bicycles but does not allow pick-up.
Amber station pin with return disabled state.
Return disabled — callout on tap
VoiceOver pin label
Station. 12 bicycles available. Return not allowed.
Purple station pin showing 20 and a waveform symbol.
Estimated (non-realtime) marker with waveform symbol
VoiceOver pin label
Station. 20 bicycles available. Estimated data.
Callout explaining that station availability is estimated.
Estimated station callout
VoiceOver callout label
Station status, Availability is estimated, not real-time
Gray out-of-service station marker.
Out of service: neither pick-up nor return
VoiceOver pin label
Pick-up and return are not allowed.
Bike counts from 0 to 2565 without clipping.
Bike counts from 0 up to 2565 — numerals do not clip, and overlapping stations collapse into a cluster
Cluster badges from 0 up to five digits.
Cluster totals from 0 to five digits (cluster 8 groups two stations)
VoiceOver cluster label
8 bicycles across 2 stations.
VoiceOver hint
Zooms in on these stations.

Marker contrast and visual hierarchy

Every bike-count marker keeps white numerals so counts read as one consistent family, while marker fills establish visual hierarchy. Actionable stations and clusters meet WCAG 2.2 AA (≥ 4.5:1) across Light, Dark, and Increase Contrast; out-of-service gray (×) pins keep contrast deliberately restrained both against the map and inside the pin so closed stations recede behind usable ones while still clearing ≥ 3:1 icon contrast. Operational empty (0) pins are a conscious normal-mode trade-off: because they are common and offer no bikes to pick up, making 0 high-contrast in normal mode made empty stations visually louder than available green pins. Warm amber keeps 0 quieter while iOS Increase Contrast raises it to 6.38:1.

Marker Light Dark Increase Contrast Note
Available 45.36:1✓ 45.36:1✓ 47.85:1✓
Restricted 12 ↑4.55:1✓ 12 ↑4.55:1✓ 12 ↑6.85:1✓
Estimated 20 ~4.61:1✓ 20 ~4.61:1✓ 20 ~7.73:1✓
Cluster 425.08:1✓ 426.17:1✓ 427.92:1✓
Out of service ×4.91:1✓ ×4.12:1✓
×7.68:1✓ ×5.45:1✓
Contrast kept low against the map and inside the pin so closed stations recede; × clears 3:1 icon contrast.
Empty 02.40:1✕ 02.46:1✕ 06.38:1✓ Deliberately quieter than bike-bearing pins; clears 4.5:1 under Increase Contrast

3 · Zooming

Zooming out merges nearby stations into cluster badges showing the summed bike count. Clustering is deterministic and updates as you pinch. Camera bounds keep the widest zoom at the Helsinki–Espoo network level and prevent zooming past street detail.

Widest permitted zoom covering the Helsinki and Espoo network.
Widest zoom: whole network in clusters
Closest permitted zoom showing an individual station.
Closest zoom: individual station

4 · Searching

Tapping the magnifying glass expands the search field while the location button stays anchored at the bottom corner beneath the keyboard (and behind the search panel). After two characters, autocomplete lists places biased toward the center of the visible map so nearby places surface first, while still keeping only locations inside the map bounds so every suggestion jumps to a covered area. When the field is empty, recent successful searches appear instead. Short lists stay compact, while taller lists scroll vertically when constrained by accessibility text sizes, landscape height, or a concurrent network banner. Selecting a result closes the panel, centers the map, and zooms in to street level if the view was zoomed out.

Action button hit targets overlaid in red.
Action buttons use enlarged tap targets (highlighted in red)
Search suggestions for Kaivokatu 1.
Typing “Kaivokatu 1”: in-area suggestions without needing a city suffix
Map centered on the selected search result.
After selecting: map centered on the result
Recent search history shown when the search field is empty.
Recent searches (newest first, each with a clear button) shown only while the field is empty

Error branch: searches that cannot jump keep the panel open with an inline reason tied to the current query, clearing as soon as the text changes.

Place not found inline error message.
No match: red “Place not found”
Place is outside the map area inline notice.
Real place outside the map area: blue “Place is outside the map area” without moving the camera
Search temporarily unavailable inline error.
MapKit failure: “Search temporarily unavailable”

5 · Network-wide outages and closures

Network-wide states use a single top banner rather than repeating notices on every marker. Markers remain visible whenever they are still useful (for example, showing return stations during a pick-up outage, or showing stations accepting returns when all bikes are out). Full shutdowns and the winter closure hide station markers.

Network-wide no pick-up banner.
Pick-up disabled everywhere, bikes still docked
Network-wide no returns banner with support link.
No station accepts returns — includes a support link
All stations empty network notice.
All stations empty
All station counts estimated banner.
All counts estimated: single banner, purple markers keep counts
Full network shutdown with markers hidden.
Full shutdown: markers hidden, base map kept
Closed for season notice with HSL season link.
Closed for the season, with HSL season details and map controls

Known overlap: opening search during an outage stacks the suggestions above the banner, which shifts down as the suggestion list changes size. Captured here as the current behavior: the banner does not yet hide while search is active.

Search suggestions stacked above a network outage banner.
Search opened over a returns outage — suggestions and outage banner stacked at the top

6 · Stale data

During the season, failed refreshes keep the last valid map visible. When the last station-data timestamp is more than ten minutes old, the HSL attribution caption turns red and adds a warning triangle.

Red stale data attribution caption with warning triangle.
Stale data: red attribution caption with warning triangle

7 · Location states

Location is optional: if permission is denied, the location button is hidden while the Helsinki map and search continue to work. When authorized, MapKit shows the live user-location dot and the compass heading cone softly behind the ring. Location errors and out-of-area notices appear only after tapping the location button. Just outside the map boundary, the button jumps to the nearest stations if one is within 10 km; farther away, the camera stays on the supported map and explains why.

Live location and heading

Authorized user-location dot centered at street level with compass heading cone.
Authorized user-location dot centered at street level with its compass heading cone

When location needs attention

Map with location button hidden when permission is denied.
Location disabled — button hidden while search and map stay active
Banner after jumping from nearby outside the map boundary to the nearest stations.
Just outside the map — jumps to nearest stations with a notice
Banner explaining the user is outside the supported map area.
Outside the service area — camera stays on the supported map
Location unavailable banner after explicit request.
Location could not be obtained after tapping the button

8 · Dark mode and accessibility

Marker colors stay legible in dark mode (the capture script verifies dark rendering before keeping each shot), accessibility text sizes scale up station counts, callouts, search errors, and banners without clipping, and Reduce Transparency switches the floating glass controls to opaque system surfaces with full-contrast icons.

Overview map in dark mode.
Launched map in dark mode
Top-left About menu opened in dark mode.
Top-left About menu opened in dark mode
User-location dot and compass heading cone in dark mode.
User-location dot and heading cone in dark mode
Search suggestions in dark mode.
Search suggestions in dark mode
Place not found error in dark mode.
Red “Place not found” message in dark mode
Estimated station callout in dark mode.
Station callout in dark mode with purple estimated accent
Out-of-service callout in dark mode.
Out-of-service callout in dark mode
Cluster badges in dark mode.
Cluster totals from 0 to five digits in dark mode
No returns network notice in dark mode.
Network notice with support link in dark mode
Station pin counts at accessibility text size.
Bike counts up to 2565 at an accessibility text size without clipping
Cluster badges at accessibility text size.
Cluster totals at an accessibility text size
Search suggestions and keyboard at accessibility text size.
Search and keyboard at an accessibility text size
Place not found error at accessibility text size.
“Place not found” error at an accessibility text size
Station callout wrapping cleanly at accessibility text size.
Callout wrapping cleanly at an accessibility text size
Network notice banner at accessibility text size.
Network notice at an accessibility text size without covering the map
Overview map with Reduce Transparency enabled in light mode.
Reduce Transparency in light mode — floating controls switch to opaque system surfaces with full-contrast icons
Overview map with Reduce Transparency enabled in dark mode.
Reduce Transparency in dark mode — opaque system surfaces with full-contrast icons

9 · Asking Siri

Two Siri shortcuts cover finding a bike to pick up and finding a station that accepts returns. Both short commands and full questions are supported. Finnish registers “Stadipyörän” as a second Siri app-name synonym so Shortcuts displays clean phrases while Siri recognizes the natural spoken questions.

ActionEnglishFinnishRussian
Get / find Find a City Bike
Get a City Bike
Pick up a City Bike
Where to find a City Bike?
Where to get a City Bike?
Where to pick up a City Bike?
Etsi Stadipyörä
Ota Stadipyörä
Nouda Stadipyörä
Mistä löydän Stadipyörän?
Mistä saan Stadipyörän?
Mistä noudan Stadipyörän?
Найти Сити Байк
Взять Сити Байк
Подобрать Сити Байк
Где найти Сити Байк?
Где взять Сити Байк?
Где подобрать Сити Байк?
Return Return a City Bike
Where to return a City Bike?
Palauta Stadipyörä
Minne palautan Stadipyörän?
Вернуть Сити Байк
Куда вернуть Сити Байк?

10 · Not yet illustrated

States that exist in the app but cannot yet be captured deterministically by the automated demo suite: