text
The element for every word on screen: its type styles, colours, Markdown rendering, headings and selectable text, with counts from the code.

text puts words on screen. It is the most written element in Seed Exact, 369 times, and it carries nearly all of the app's typography. On iOS it is a label drawn in a system text style, so every size follows Dynamic Type.

Text roles on one screen: the large title from a level 1 heading, the summary in callout, the byline in footnote, a tinted count, and Markdown paragraphs in the reading style.

What it is

text "words" or text expression, followed by attributes. With no attributes it is body text in the label colour. Inside a grouped list row, a first text is the row's title and a second is its value. Inside a button the first text is the button's title. Inside a header a text role="heading" is the screen title (bars).

Attributes in this app

Attribute

Uses

Values

color

158

-exact-secondary-label 104, -exact-system-red 22 (plus 3 conditional), -exact-label 18, brand 4, ink.on-brand 4 (plus 1 conditional), -exact-tertiary-label 2

font

132

-exact-footnote 60, -exact-caption1 19, -exact-subheadline 18, -exact-headline 16, -exact-callout 8, -exact-title3 3, -exact-title2 2, -exact-body 1, the tokens type.reading 1 and type.code 1, and 3 conditional picks

role

25

"heading" 24 (one per screen bar), "alert" 1 (the Open site error)

aria-level

18

1 on 4 headings (large title), 2 on 14 (inline title)

markup="markdown"

9

Renders the string as Markdown: links, emphasis, lists, code

atoms, atompress

3

Agent messages: hm: links become tappable pills that open the document

user-select="text"

6

The text can be selected and copied

line-clamp

7

Caps lines: titles and summaries in rows and cards

font-weight

8

600 or 700 on names, headings and card titles

font-family="monospace"

5

Account id, exported key, recovery words, tool input and output

overflow-wrap

18

Lets long ids and URLs break

font-size

2

Only the capped initial in Avatar

text-transform="uppercase"

1

The "In this space" label on Document

font-variant-numeric="tabular-nums"

2

The comment count in the bar, the recovery word numbers

The remaining attributes are layout (flex, min-width, padding, text-align) and testId (96).

Text with no font (237 uses) takes the platform's style for its place: body in content, the cell's title style in a list row, the bar's title style in a header.

Representative uses

Use

Source

Screen title: text title role="heading" aria-level=1

read.contract L298

Reading paragraph: text b.md markup="markdown" font="type.reading" color="-exact-label" user-select="text"

read.contract L192

Secondary line: text p.shortId font="-exact-footnote" color="-exact-secondary-label"

read.contract L424

Error next to a control: text error color="-exact-system-red"

agents.contract L717

Chat bubble, a text with its own background and radius

agents.contract L581-L590

Copyable id in monospace

me.contract L184

Markdown text

Nine texts set markup="markdown": document paragraphs, headings, tables and image captions in DocBlockView, the comment body in DiscussBubble, the system prompt on Agent detail, and three kinds of chat message. The whole string is one node, and links inside it are tappable and travel through the app's navigation. Code blocks do not use Markdown: they are plain text in type.code with white-space="pre-wrap".

Selectable text

Text is not selectable unless it says so. The six selectable texts are the things a person may want to copy: document paragraphs, code blocks, comment bodies, the account id, the exported key and the vault connect link.

Used by

Where it is written

text

Document and site home (DocScreen)

10

Directory sheet (DirectoryScreen)

3

Author profile (AuthorScreen)

6

Open site sheet (OpenSiteScreen)

6

All comments (DiscussAllScreen)

3

Thread (DiscussThreadScreen)

4

Compose comment sheet (DiscussComposeScreen)

8

Activity inbox (ActivityScreen)

14

Email notification settings (ActivityEmailScreen)

14

Agents list (AgentsScreen)

16

Agent detail (AgentDetailScreen)

15

Agent session (AgentSessionScreen)

13

New agent sheet (AgentCreateScreen)

14

Providers sheet (AgentProvidersScreen)

14

Agent server sheet (AgentServerScreen)

6

Me (MeScreen)

25

Identity detail (MeIdentityScreen)

30

Create identity sheet (MeCreateScreen)

12

Import identity sheet (MeImportScreen)

5

Server (MeServerScreen)

14

Edit profile (ProfileScreen)

7

Vault (VaultScreen)

35

Connect vault sheet (VaultConnectScreen)

10

Avatar (named component)

2

StatusLine (named component)

2

FacePile (named component)

1

CommentCount (named component)

1

DocItemRow (named component)

5

DocCard (named component)

3

DocBlockView (named component)

14

DiscussBubble (named component)

4

DiscussThreadRow (named component)

1

DiscussSection (named component)

6

DiscussComposer (named component)

4

AgentError (named component)

2

AgentToolRow (named component)

10

AgentChildRow (named component)

2

AgentContextRow (named component)

4

AgentRunCard (named component)

9

ProfileForm (named component)

8

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

7

Total

369

Rules for use

    Pick a system text style by role, never a point size. The scale and its meanings are in Typography.

    Primary words take the label colour (usually unsaid). Supporting words take -exact-secondary-label. Red is for errors only. Brand is for text that acts like a link.

    One heading per screen, in the header. Section titles inside content use a title style and weight, not role="heading".

    Use line-clamp in rows and cards so a long title cannot push the layout; never clamp reading text.

    Give long unbroken strings overflow-wrap and min-width=0.

    Write the words in sentence case, and write names instead of ids (Voice and wording, Names, not identifiers).

Why

DESIGN.md allows "platform text styles only ... and the two type tokens", which is what the counts show: no numeric font size anywhere except the avatar initial. Type that follows the system scale is what makes Dynamic Type work without design effort (Accessibility), and it is the largest single instance of Leave it unsaid. The roomier type.reading token is the one place the app improves on the platform, for Reading first.

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

Unsubscribe anytime