link
The element for going somewhere: list rows that push a screen, cards and pills in content, and where links inside Markdown go.

link is something a person presses to go to a location. It carries an href, and every press travels through the app's one navigation handler, so a link can push a document, open a sheet or switch tabs without the screen knowing how. Seed Exact writes 19 links. Seven are unstyled rows of a grouped list; twelve are painted pieces of content.

What iOS draws

An unstyled link directly in a section is a list cell that pushes: its symbol, title, value and trailing forward-chevron are laid out by the cell, like the rows of Settings. A link with layout or paint of its own (display="flex", a background, a radius) is a pressable box that draws exactly what is written. Either way a tap sends the href to the root's navigate handler (main), which keeps document links on the server of the page being read.

The author profile screenshot on image and symbols shows a row link ("Home document"); the Me tab screenshot on list and section shows three ("Server", "Agent server", "Vault").

Attributes in this app

Attribute

Uses

Meaning

href

19

The destination. Seven are built with path("route", …); the rest are hrefs from the data (item.href, c.href) or templates such as /comments/… and /compose/…

testId

16

Test handle

text-decoration-line="none"

10

Painted links: no underline

color

8

-exact-label on cards and rows (so the content is not tinted), brand on text links, ink.on-brand on the pill

display="flex", flex-direction, align-items, gap

6 to 9 each

Painted links lay out their own children

background-color, border-radius

5 each

Cards (-exact-secondary-background, radius 10 or 12) and pills (brand, radius 999)

min-height=44 (and min-width=44 on byline avatars)

5

A full touch target around small content

aria-label

1

The author's name on a byline avatar link

The 19 links

Kind

Link

Goes to

Source

List row

Current identity on Me

Identity detail

me.contract L79

List row

"Server", "Agent server", "Vault" on Me

Server, Agent server sheet, Vault

me.contract L104-L118

List row

"Edit profile" on Identity detail

Edit profile

me.contract L175

List row

"Home document" on Author profile

the author's home document

read.contract L429

List row

Identity name on Vault

Identity detail

vault.contract L105

Content row

DocItemRow

a document

read.contract L133

Content row

DiscussThreadRow

a Thread

discuss.contract L77

Card

DocCard; the embed card and the media row in DocBlockView

a document, or the file's URL

read.contract L162, L209, L249

Pill

"Add a comment" in DiscussSection

Compose sheet

discuss.contract L119

Pill

A document's button block in DocBlockView

the button's URL

read.contract L246

Text link

"See all N threads" in DiscussSection; the "N comments" line in the Document header

All comments

discuss.contract L117, read.contract L337

Text link

The document line at the top of a Thread

the document

discuss.contract L228

Text link

"Change server" on a failed Edit profile

Server

profile.contract L56

Avatar

Each author in the document byline

Author profile

read.contract L329

Links inside text

Links written inside Markdown are not link elements. A text with markup="markdown" draws them underlined in the label colour (visible in document paragraphs), and a tap goes through the same navigate handler. In agent messages, hm: links are declared as an atom (atom agentDocument link="hm:" color="brand", agents.contract L5) and appear as brand coloured pills.

Used by

Where it is written

link

Document and site home (DocScreen)

2

Author profile (AuthorScreen)

1

Thread (DiscussThreadScreen)

1

Me (MeScreen)

4

Identity detail (MeIdentityScreen)

1

Edit profile (ProfileScreen)

1

Vault (VaultScreen)

1

DocItemRow (named component)

1

DocCard (named component)

1

DocBlockView (named component)

3

DiscussThreadRow (named component)

1

DiscussSection (named component)

2

Total

19

Rules for use

    Use link when the press goes to a place that has a route or URL. Use button when it does something. The Agents feature writes its pushing rows as buttons calling follow("/…"); the result is the same on iOS, and new work should prefer link.

    Build in-app destinations with path("route", …) so a renamed route cannot leave a dead link.

    In a grouped list leave the link unstyled and end it with symbol:forward-chevron.

    A painted link sets text-decoration-line="none" and its own color, or the whole card is tinted and underlined.

    Small targets get min-height=44.

    A pill that navigates is a link with a brand background and radius 999, not a filled button. Its text uses ink.on-brand.

Why

Because documents, comments and authors all have addresses, a link is the natural element for moving between them, and deep links from outside the app arrive through the same handler (Moving between tabs and into the app). It is also what makes "one tap to anywhere in the space" cheap: every row and card is one href (The five principles).

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
link
summary
The element for going somewhere: list rows that push a screen, cards and pills in content, and where links inside Markdown go.