input, textarea, select and label
The form controls: one line fields, the one switch, multi line fields and composers, the one pop-up menu, and how fields are named without a label element.

These are the elements a person types into or chooses with. Seed Exact has 15 inputs, 6 textareas and one select with its options. It never writes a label element. On iOS each is the platform's own control, and inside a grouped list a field is simply a row of the card.

Two fields in one section: a small text above each field names it, and the placeholder shows an example.
A select drawn as a pop-up button ("anthropic") at the trailing edge of its row, then three input rows showing only their placeholders.

input

Attribute

Uses

Values and meaning

value, input

14

The field shows the draft and reports every keystroke, so validation and button enabling follow typing

placeholder

14

An example or the field's name: "https://hyper.media", "Agent name", "Name (optional)"

aria-label

15

The field's name for assistive technology. Every input has one

type

6

url 2, search 1, email 1, password 1, checkbox 1. The other 9 are plain text

autocapitalize="none", autocorrect="off"

5

Key names, server address, vault URL: text that is not prose

submit

3

Return submits: the Open site URL, the import name, the Server address

disabled

2

While saving: email address, display name

checked, change, switch

1

The one switch

flex=1, min-width=0

5

Fields that share a row

type chooses the keyboard and the field's behaviour: url and email give the matching keyboards, password hides the API key, and search draws the rounded search field with a magnifier on the Directory sheet (read.contract L380). Attributes Contract offers and the app does not use: enterkeyhint, inputmode, maxlength, autofocus, autocomplete.

The one switch is input type="checkbox" switch, drawn as a UISwitch at the end of the row "I wrote down my recovery phrase" on the Create identity sheet (me.contract L281). One input lives inside an alert: the key name prompt on Identity detail (dialog).

textarea

Use

Shape

Source

Reply composer in DiscussComposer

rows=1 field-sizing="content" max-height=140, no border, transparent, inside a rounded outline

discuss.contract L182

Agents composer

The same, plus focus and blur actions that tint the outline

agents.contract L609-L625

Comment body on the Compose sheet

Fills the sheet, min-height=160, font="-exact-body", no border

discuss.contract L280

System prompt on the New agent sheet

rows=4, a list row

agents.contract L708-L712

Recovery phrase or key file on the Import sheet

min-height=120, no capitalisation, correction or spell check

me.contract L309

Summary in ProfileForm

min-height=100, disabled while saving

profile.contract L99-L105

The two composers grow with their content from one line up to 140 points, then scroll. That pairing of attributes comes from Exact's chat thread recipe (Composers).

select and option

One use: the provider type on the Providers sheet (agents.contract L776-L783), a select with one option per provider type, in a row after the text "Type". iOS draws a pop-up button that opens a menu. Short choices elsewhere are rows with a checkmark instead (Provider and model rows, Server rows): Exact's guidance is a select for six or more values or long labels, rows for a few.

No label element

Fields are named in three ways, all without label:

    The section header names the field: "Server URL", "Name", "System prompt".

    A text above the field inside a column: "Display name", "Summary" on Edit profile.

    The placeholder alone, with aria-label for assistive technology: "Name (optional)", "API key".

The third is the weakest: once a person types, the name is gone from the screen. It is used where the row's place makes the meaning clear.

Used by

Where it is written

input

textarea

select

Directory sheet (DirectoryScreen)

1

0

0

Open site sheet (OpenSiteScreen)

1

0

0

Compose comment sheet (DiscussComposeScreen)

0

1

0

Email notification settings (ActivityEmailScreen)

1

0

0

Agent session (AgentSessionScreen)

0

1

0

New agent sheet (AgentCreateScreen)

1

1

0

Providers sheet (AgentProvidersScreen)

3

0

1

Agent server sheet (AgentServerScreen)

1

0

0

Identity detail (MeIdentityScreen)

1

0

0

Create identity sheet (MeCreateScreen)

2

0

0

Import identity sheet (MeImportScreen)

1

1

0

Server (MeServerScreen)

1

0

0

Vault (VaultScreen)

1

0

0

DiscussComposer (named component)

0

1

0

ProfileForm (named component)

1

1

0

Total

15

6

1

Rules for use

    A form is a grouped list; each field is a row, and the section footer carries the rule or the error (Forms and inputs).

    Choose the type that gives the right keyboard. Turn off capitalisation and correction for addresses, keys and names of keys.

    Leave the field unstyled inside a list. A border, radius or background turns it into a painted box; only the composers and the comment sheet do that on purpose.

    Bind submit when Return has an obvious meaning, and keep a visible button for it too.

    Never keep secrets in a draft that survives a reload. The import text is not persisted; name drafts are.

Why

DESIGN.md describes create and import as "grouped form" and the composers as the chat thread recipe. Platform fields bring the system keyboard, selection, paste and password handling for free (Leave it unsaid).

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

Unsubscribe anytime

Comments