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.
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 |
|---|---|---|
| 158 |
|
| 132 |
|
| 25 |
|
| 18 |
|
| 9 | Renders the string as Markdown: links, emphasis, lists, code |
| 3 | Agent messages: |
| 6 | The text can be selected and copied |
| 7 | Caps lines: titles and summaries in rows and cards |
| 8 | 600 or 700 on names, headings and card titles |
| 5 | Account id, exported key, recovery words, tool input and output |
| 18 | Lets long ids and URLs break |
| 2 | Only the capped initial in Avatar |
| 1 | The "In this space" label on Document |
| 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: | |
Reading paragraph: | |
Secondary line: | |
Error next to a control: | |
Chat bubble, a | |
Copyable id in monospace |
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 |
|
|---|---|
Document and site home ( | 10 |
Directory sheet ( | 3 |
Author profile ( | 6 |
Open site sheet ( | 6 |
All comments ( | 3 |
Thread ( | 4 |
Compose comment sheet ( | 8 |
Activity inbox ( | 14 |
Email notification settings ( | 14 |
Agents list ( | 16 |
Agent detail ( | 15 |
Agent session ( | 13 |
New agent sheet ( | 14 |
Providers sheet ( | 14 |
Agent server sheet ( | 6 |
Me ( | 25 |
Identity detail ( | 30 |
Create identity sheet ( | 12 |
Import identity sheet ( | 5 |
Server ( | 14 |
Edit profile ( | 7 |
Vault ( | 35 |
Connect vault sheet ( | 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 | 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.
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-02 Read a document: Markdown text, selectable paragraphs and code
US-DISC-02 Read a thread: Markdown comment text that can be selected
US-ID-05 Back up my key: Selectable monospace text for the key file
US-APP-03 Use the app in light or dark: Text colours are roles, never literals
US-APP-04 Use the app with large text and assistive technology: Type styles, headings and selectable text
US-APP-07 Read clear, consistent wording: Every word on screen
Related
Parent: Primitive elements
Do you like what you are reading? Subscribe to receive updates.
Unsubscribe anytime