An action in the mobile app is almost always the platform's own button, written with as little styling as possible. The app chooses only how much emphasis an action gets and where it sits. This page lists the styles in use, every bar button, every alert, and the rules for share, copy and external open.
Button styles
The button primitive with no buttonStyle is the platform default: plain text in the tint, which is brand because the app root sets accent-color="brand". The Exact guide's rule is "filled for the screen's main action, bordered for one that must read as a button, and nothing for a secondary or inline one" (contract-for-humans.md).
Style | Contract | Looks like | Every use |
|---|---|---|---|
Plain (default) |
| Tinted text, or a full-width row inside a grouped list | Nearly every action: "Retry", "Reply", "Stop", all action rows |
Filled |
| Solid | Send in both composer bars; "Create an identity" on the compose sheet |
Bordered |
| Grey capsule, label in the label colour | "Create" in the thread bar; "Open Me" in the Activity empty state; "Connect" on Server |
Bordered prominent |
| Solid tinted capsule in a navigation bar | "Create" on Create identity; "Import" on Import identity |
Destructive |
| Red label | "Remove from this device"; "Remove" in both removal alerts; "Cancel" on a live run card |
Red text |
| Red label, not marked destructive | "Log out and clear this device" and the alert's "Log out" on Vault |
Painted pill | A | Teal pill, | "Add a comment" under a document; a document's own button block |
One screen has one emphasized action at most. Everything else is plain.
Bar buttons
Navigation bar actions are buttons in the screen's header: a symbol with an aria-label, or a short word. Sheets put the dismissing word on the leading side and the committing word on the trailing side. The table of every bar is on Every bar button.
Rows that act
Inside a grouped list an action is a row, and its shape says what it does:
Navigates: a link or button ending in symbol:forward-chevron ("Server", "Vault", "Edit profile", "Home document").
Acts in place: no chevron, tinted title, often a leading symbol ("Create identity" with symbol:add, "Copy account ID" with symbol:copy).
Chooses: role="radio" with aria-checked, and a brand checkmark on the chosen row.
Opens a system sheet: the title ends in an ellipsis ("Share account ID…", "Share…").
Inline text actions outside lists keep a 44-point target: "Reply" under a comment has min-height=44 min-width=44.
Confirmations and alerts
The app has five alerts, all dialog role="alertdialog", all for actions that destroy or reveal something: removing an identity (two entry points), revealing a private key, renaming a key, and logging out of a remote vault. Titles, messages and buttons are on Confirmations and alerts.
Share, copy and open
Three actions open the system share sheet (a document, an account ID, an exported key), three copy to the clipboard, and only plain web addresses open in the browser. Details are on Share, copy and open.
Do and do not
Do leave a button unstyled unless it is the screen's single main action.
Do confirm with an alert only when something is destroyed or exposed.
Do end a label with an ellipsis when it opens a system sheet.
Do not paint a button's background. The two painted pills are links in reading content.
Do not put two filled buttons on one screen.
Why
Plain buttons are the consequence of Leave it unsaid: "a button is the system's button" (Exact README). Inferred from the uses: emphasis tracks commitment, so the filled and prominent styles appear only where something is created or sent. The "Log out" pair uses red text without destructive=true while removal uses destructive=true; the sources do not explain the difference.
User stories
This page helps deliver these stories. Each story lists this page in its Trace, so the link holds in both directions (traceability).
US-READ-11 Share a document: Sharing as one of the app's action patterns
US-DISC-03 Comment on a document: Cancel leading, the confirming action trailing
US-DISC-05 Be guided to create an identity before commenting: One filled button for the single next step
US-ACT-03 Mark everything read: A plain row action that acts at once
US-ACT-04 Get notifications by email: Plain button rows that act at once
US-AGENT-03 Set up a model provider: Save provider as a row in the list, Done in the bar
US-AGENT-07 Steer a run: Destructive Cancel and plain action buttons
US-ID-05 Back up my key: Danger goes last and asks first
US-ID-06 Remove an identity from this device: Destructive actions are red, last and ask first
US-VAULT-03 Lock my vault, switch to local, or log out: Reversible and irreversible actions look different
US-APP-07 Read clear, consistent wording: Button styles and emphasis, rows that act, confirmations, sharing
Related
Symbols and icons, Color and tokens, Voice and wording, link, header, footer and nav. Implementation: Contract views and built-in calls. Source: alerts at me.contract L125-L130, me.contract L215-L233 and vault.contract L152-L162; document bar at read.contract L295-L311.
In this section
Do you like what you are reading? Subscribe to receive updates.
Unsubscribe anytime