row, column and view draw nothing by themselves. They are the boxes that place other elements: row side by side, column one under another, view a bare box. Seed Exact writes 104 columns, 49 rows and 3 views. Everything the app paints itself (bubbles, cards, the reading column, avatars) is one of these with a background, a radius or a border.
What they are
row and column are flex containers with the direction their name says. view is a plain block. They take CSS layout attributes by their CSS names. On iOS they are ordinary views laid out by the framework, with no platform look, so they are the right element for content and the wrong one for chrome (Primitive elements).
Recurring arrangements
Arrangement | Written as | Uses |
|---|---|---|
Screen root |
| One per screen component: 23, plus the test fixture (main) |
Reading column |
| 10: every band of Document, All comments, Thread, Compose |
Media and text row |
| Identity, author and activity rows |
Two line cell |
| The most common column: |
Card |
| Code blocks, the child list, AgentToolRow, AgentRunCard |
Bubble |
| |
Hairline between rows |
| 5: child list, query list, discussion threads |
Composer outline |
| |
Disc |
| Avatar initial, the 8 point unread dot |
Wrapping meta line |
| 8 rows wrap, so they survive large text |
Spacer |
| All 3 views: two in DocCard, one zero height spacer in the card grid |
Attributes in this app
Attribute |
|
| Values seen |
|---|---|---|---|
| 30 | 56 | 2, 3, 4, 6, 8, 10, 12, 14 |
| 33 | 2 |
|
| 15 | 29 | 4, 6, 8, 10, 12, 14, 16, 20, 24, 40 |
| 1, 2 | 26, 22 |
|
| 8 | 0 |
|
| 1, 0 | 10, 10 |
|
| 2 | 6 |
|
| 5 | 5 | 10, 12, 18, 20, 50% |
| 0 | 24, 22, 10 | Screen roots only |
| 1 | 1 |
|
| 4 | 0 | Groups that read as one thing: face pile, comment count, unread dot, avatar disc |
A row or column with no attributes inside a grouped list section is simply a custom row of the card: for example row holding "Model" and its value on Agent detail.
Used by
Where it is written |
|
|
|
|---|---|---|---|
Document and site home ( | 2 | 10 | 0 |
Directory sheet ( | 1 | 2 | 0 |
Author profile ( | 1 | 2 | 0 |
Open site sheet ( | 0 | 1 | 0 |
All comments ( | 0 | 3 | 0 |
Thread ( | 0 | 3 | 0 |
Compose comment sheet ( | 0 | 3 | 0 |
Activity inbox ( | 3 | 4 | 0 |
Email notification settings ( | 0 | 1 | 0 |
Agents list ( | 0 | 5 | 0 |
Agent detail ( | 2 | 2 | 0 |
Agent session ( | 3 | 7 | 0 |
New agent sheet ( | 0 | 1 | 0 |
Providers sheet ( | 1 | 3 | 0 |
Agent server sheet ( | 0 | 1 | 0 |
Me ( | 2 | 5 | 0 |
Identity detail ( | 1 | 2 | 0 |
Create identity sheet ( | 4 | 1 | 0 |
Import identity sheet ( | 1 | 1 | 0 |
Server ( | 1 | 5 | 0 |
Edit profile ( | 0 | 2 | 0 |
Vault ( | 2 | 5 | 0 |
Connect vault sheet ( | 0 | 3 | 0 |
Avatar (named component) | 1 | 0 | 0 |
StatusLine (named component) | 1 | 0 | 0 |
FacePile (named component) | 2 | 0 | 0 |
CommentCount (named component) | 1 | 0 | 0 |
DocItemRow (named component) | 1 | 1 | 0 |
DocCard (named component) | 1 | 1 | 2 |
DocBlockView (named component) | 6 | 7 | 1 |
DocDiscussionSlot (named component) | 0 | 1 | 0 |
DiscussBubble (named component) | 2 | 2 | 0 |
DiscussSection (named component) | 1 | 4 | 0 |
DiscussComposer (named component) | 3 | 1 | 0 |
AgentError (named component) | 1 | 0 | 0 |
AgentToolRow (named component) | 1 | 5 | 0 |
AgentChildRow (named component) | 0 | 1 | 0 |
AgentContextRow (named component) | 0 | 2 | 0 |
AgentRunCard (named component) | 3 | 2 | 0 |
ProfileForm (named component) | 0 | 2 | 0 |
the root | 1 | 3 | 0 |
Total | 49 | 104 | 3 |
Rules for use
Use spacing from the app's scale: 4, 8, 12, 16, 20, 24, with 2 and 6 for tight pairs (Spacing, radii and sizes).
Give the text column of any row flex=1 min-width=0, or long words push the trailing element off screen.
Let meta lines wrap (flex-wrap="wrap") so the largest text sizes do not clip (Accessibility).
Cap reading content at max-width="40rem" and centre it. This is the "calm column" of Reading first.
Colour boxes with roles and tokens only: -exact-secondary-background for cards, -exact-separator for lines. No hex values (Color and tokens).
Do not use these to imitate a platform control. A row of boxes that looks like a list, a switch or a bar is a defect; use list and section or bars.
Inside a grouped list, write no padding at the ends of a custom row. The cell already has its margins.
Why
Principle 1 of DESIGN.md says to "paint only content: document typography, comment bubbles, avatars". These three elements are where that painting happens, and the short list of arrangements above is the whole of the app's custom drawing. Keeping it this small is what lets the rest follow the platform (Leave it unsaid). The painted shapes themselves are catalogued in Cards and panels.
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-APP-01 The app feels like an iPhone app: The layout boxes for the content the app paints itself
US-APP-04 Use the app with large text and assistive technology: Rows that wrap with a text-relative basis
Related
Parent: Primitive elements
How it is built: Contract views and built-in calls, Shared components and visual design
Do you like what you are reading? Subscribe to receive updates.
Unsubscribe anytime