header, footer and nav
How a header becomes the navigation bar or a section title, how a footer becomes a section note, and why the app has a tab bar and no nav or toolbar element.

header and footer are the two elements whose meaning depends entirely on where they sit. A header that is the first child of a screen is the iOS navigation bar. A header or footer inside a list section is the small grey title above a card or the note under it. The app writes 52 headers and 15 footers, and no nav element at all.

A tab root: the level 1 heading drawn as a large title, two trailing bar buttons sharing one capsule, and section headers "Today" and "Yesterday".
A sheet: a leading Close button and an inline title. The search field is a row under the bar.

The screen header: a navigation bar

Each of the 23 screen components starts with a header (one more is in the test fixture route). iOS reads it as the navigation bar:

In the header

Becomes

text … role="heading" aria-level=1

A large title that collapses into the bar on scroll

text … role="heading" with aria-level=2, or no level

An inline title, centred in the bar

A button before the heading

A leading bar item

A button after the heading

A trailing bar item

Nothing for Back

The system Back chevron and edge swipe on every pushed screen

Anything else in a header is not shown on iOS. The bar's height, material, title type and button capsules are the platform's.

Titles. Four headings are level 1: Document and site home, Activity inbox, Agents list and Me. Fourteen are level 2. Five sheets set no level (New agent, Providers, Agent server, Create identity, Import identity) and get an inline title too. Document is level 1 on pushed pages as well as on the home, so a long title wraps under the bar instead of being cut (read.contract L296-L298); DESIGN.md still describes pushed documents as inline, and the older capture final/ios-doc-light.png shows that earlier state.

Bar buttons. 23 buttons sit in screen headers: 8 leading, 15 trailing.

Position

Buttons

Leading

"Cancel" on Open site, Compose, New agent, Agent server, Create identity, Import identity; "Cancel" or "Done" on Edit profile; Close (symbol:close) on Directory

Trailing, symbols

Document: Directory (list), Discussion (messages), Share (share); Activity: Email notifications (settings), Refresh (refresh); Agents: New agent (add); Session: Reconnect (refresh)

Trailing, words

"Open site" on Document; "Post" on Compose; "Create" on New agent, Create identity; "Import"; "Save" on Agent server; "Done" on Providers; "Cancel" on Connect vault

Six of the leading buttons carry id="back", which makes a swipe down on the sheet press them. The full map of bars is in Navigation bars and their actions.

Attributes. Screen headers carry only layout hints (display="flex", align-items="center", sometimes gap=8 or justify-content), which lay the header out on the web host. No header sets a colour, a height or a font.

The section header and footer

Inside a grouped list, a section may begin with header and end with footer, each holding one text (list and section). 28 sections have a header, 15 a footer.

    A header is the group's name in two or three words: "Identities", "Connections", "Recovery phrase", "Add a provider".

    A footer is one or two sentences that explain a rule or a consequence: "Keys stay on this device, in the Keychain.", "The key file is your unencrypted private key. Anyone who has it can act as this identity."

    Four footers double as the status line of their field: they show the validation or server error in -exact-system-red when there is one, and the help text otherwise (me.contract L195, L311, L373, and the create error at L283).

Their type, colour and insets are the platform's. The app writes no attributes on any footer.

No nav, no toolbar

There is no nav element in the app. The word nav in the source is the routes table (routes nav) and the router value. The tab bar is written as row role="tablist" with four button role="tab", each a symbol over a label, at the bottom of main (app.contract L930-L942); iOS draws it as the system tab bar (The four tabs).

There is no bottom toolbar either, and no footer is used as one. The two things pinned to the bottom of a screen are composers, written as plain columns after the list (Composers).

The Directory's search field is an input type="search" in a row under the header, not inside it. In Exact a search input inside the header becomes the bar's own search field; DESIGN.md says "Search field in the header", and the built sheet keeps the field always visible under the bar instead.

Used by

Where it is written

header

footer

Document and site home (DocScreen)

1

0

Directory sheet (DirectoryScreen)

1

0

Author profile (AuthorScreen)

2

0

Open site sheet (OpenSiteScreen)

2

1

All comments (DiscussAllScreen)

1

0

Thread (DiscussThreadScreen)

1

0

Compose comment sheet (DiscussComposeScreen)

1

0

Activity inbox (ActivityScreen)

2

0

Email notification settings (ActivityEmailScreen)

2

1

Agents list (AgentsScreen)

3

0

Agent detail (AgentDetailScreen)

3

0

Agent session (AgentSessionScreen)

1

0

New agent sheet (AgentCreateScreen)

5

1

Providers sheet (AgentProvidersScreen)

3

1

Agent server sheet (AgentServerScreen)

2

1

Me (MeScreen)

4

1

Identity detail (MeIdentityScreen)

3

2

Create identity sheet (MeCreateScreen)

2

3

Import identity sheet (MeImportScreen)

2

1

Server (MeServerScreen)

3

2

Edit profile (ProfileScreen)

1

0

Vault (VaultScreen)

4

0

Connect vault sheet (VaultConnectScreen)

1

0

ProfileForm (named component)

1

1

the root App component (app shell and the test fixture route)

1

0

Total

52

15

Rules for use

    Every screen starts with a header holding exactly one heading. Tab roots use level 1; pushed screens and sheets use level 2.

    At most three or four trailing items. Prefer symbols with an aria-label for standing actions and words for the confirming action of a sheet.

    A sheet's dismiss button leads and its confirm button trails. Give the dismiss button id="back".

    Never draw a Back button, a bar background or a title of your own.

    Section headers are names, not sentences; footers are sentences, not names (Voice and wording).

Why

DESIGN.md: "There's no chrome in the content; actions go in the nav bar", and the redesign's goal of "system tab bar, large titles". Writing the bar as a header with a heading is how Exact lets the platform draw it (Leave it unsaid, How the framework shaped the design).

User stories

This page helps deliver these stories. Each story lists this page in its Trace, so the link holds in both directions (traceability).

Do you like what you are reading? Subscribe to receive updates.

Unsubscribe anytime

Attributes
name
header, footer and nav
summary
How a header becomes the navigation bar or a section title, how a footer becomes a section note, and why the app has a tab bar and no nav or toolbar element.