Buttons and actions
Button styles and emphasis in Seed Exact, bar buttons, rows that act, confirmations and alerts, sharing, copying and opening things outside the app.

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.

Identity detail: a link row with a chevron ("Edit profile"), a value row ("Key name"), a plain tinted action row ("Export key file") and a destructive row in red ("Remove from this device").

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)

button press=…

Tinted text, or a full-width row inside a grouped list

Nearly every action: "Retry", "Reply", "Stop", all action rows

Filled

buttonStyle="filled"

Solid brand capsule, white label

Send in both composer bars; "Create an identity" on the compose sheet

Bordered

buttonStyle="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

buttonStyle="bordered-prominent"

Solid tinted capsule in a navigation bar

"Create" on Create identity; "Import" on Import identity

Destructive

destructive=true

Red label

"Remove from this device"; "Remove" in both removal alerts; "Cancel" on a live run card

Red text

color="-exact-system-red" on the label

Red label, not marked destructive

"Log out and clear this device" and the alert's "Log out" on Vault

Painted pill

A link with background-color="brand", radius 999

Teal pill, ink.on-brand headline

"Add a comment" under a document; a document's own button block

One screen has one emphasized action at most. Everything else is plain.

A filled button as the single main action of a sheet: "Create an identity". "Cancel" in the bar 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).

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

Unsubscribe anytime